32 lines
1.2 KiB
Cheetah
32 lines
1.2 KiB
Cheetah
## -*- 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>
|