initial commit to seperate repo
This commit is contained in:
commit
1a020ca68b
1302 changed files with 201261 additions and 0 deletions
28
themes/readable/templates/index.tmpl
Normal file
28
themes/readable/templates/index.tmpl
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
## -*- 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue