28 lines
1.1 KiB
Cheetah
28 lines
1.1 KiB
Cheetah
## -*- coding: utf-8 -*-
|
|
<%namespace name="helper" file="index_helper.tmpl"/>
|
|
<%namespace name="comments" file="comments_helper.tmpl"/>
|
|
<%inherit file="base.tmpl"/>
|
|
<%block name="content">
|
|
% for post in posts:
|
|
<div class="postdiv">
|
|
<a href="${post.permalink()}"><h2>${post.title()}</a></h2>
|
|
${post.text(teaser_only=index_teasers)}
|
|
<p>
|
|
</div>
|
|
<div class="postmeta">
|
|
<small> §
|
|
<span class="dateline"><a href="${post.permalink()}" rel="bookmark"><time class="published dt-published" datetime="${post.date.isoformat()}" itemprop="datePublished" title="${messages("Publication date")}">${post.formatted_date(date_format)}</time></a></span>
|
|
</small>
|
|
% if not post.meta('nocomments') and site_has_comments:
|
|
· ${comments.comment_link(post.permalink(), post.base_path)}
|
|
% endif
|
|
% for tag in post.tags:
|
|
· ${tag}
|
|
%endfor
|
|
</div>
|
|
<hr>
|
|
% endfor
|
|
${helper.html_pager()}
|
|
${comments.comment_link_script()}
|
|
${helper.mathjax_script(posts)}
|
|
</%block>
|