initial commit to seperate repo
This commit is contained in:
commit
1a020ca68b
1302 changed files with 201261 additions and 0 deletions
32
themes/readable/templates/post.tmpl
Normal file
32
themes/readable/templates/post.tmpl
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%namespace name="helper" file="post_helper.tmpl"/>
|
||||
<%namespace name="pheader" file="post_header.tmpl"/>
|
||||
<%namespace name="comments" file="comments_helper.tmpl"/>
|
||||
<%inherit file="base.tmpl"/>
|
||||
<%block name="extra_head">
|
||||
${helper.twitter_card_information(post)}
|
||||
% if post.meta('keywords'):
|
||||
<meta name="keywords" content="${post.meta('keywords')|h}"/>
|
||||
% endif
|
||||
</%block>
|
||||
<%block name="content">
|
||||
<div class="postdiv">
|
||||
<a href="${post.permalink()}"><h2>${post.title()}</a></h2>
|
||||
${post.text(lang)}
|
||||
</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>
|
||||
|
||||
% if not post.meta('nocomments'):
|
||||
${comments.comment_form(post.permalink(absolute=True), post.title(), post.base_path)}
|
||||
% endif
|
||||
</%block>
|
||||
Loading…
Add table
Add a link
Reference in a new issue