initial commit to seperate repo
This commit is contained in:
commit
8630e4db13
23669 changed files with 1067407 additions and 0 deletions
39
themes/zen/templates/post.tmpl
Normal file
39
themes/zen/templates/post.tmpl
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%namespace name="arusahni" file="arusahni_helper.tmpl" import="*" />
|
||||
<%namespace name="helper" file="post_helper.tmpl"/>
|
||||
<%namespace name="comments" file="comments_helper.tmpl"/>
|
||||
<%inherit file="base.tmpl"/>
|
||||
|
||||
<%block name="extra_head">
|
||||
${parent.extra_head()}
|
||||
% if post.meta('keywords'):
|
||||
<meta name="keywords" content="${post.meta('keywords')|h}">
|
||||
% endif
|
||||
<meta name="author" content="${post.author()}">
|
||||
${helper.open_graph_metadata(post)}
|
||||
${helper.twitter_card_information(post)}
|
||||
${helper.meta_translations(post)}
|
||||
</%block>
|
||||
|
||||
<%block name="content">
|
||||
<div class="post">
|
||||
${arusahni.html_title()}
|
||||
<div class="meta">
|
||||
<div class="authordate">
|
||||
<time class="timeago" datetime="${post.date.isoformat()}">${post.formatted_date(date_format)}</time>
|
||||
${arusahni.html_translations(post)}
|
||||
${arusahni.html_sourcelink()}
|
||||
</div>
|
||||
${arusahni.html_tags(post)}
|
||||
</div>
|
||||
<div class="body">
|
||||
${post.text()}
|
||||
</div>
|
||||
${helper.html_pager(post)}
|
||||
% if not post.meta('nocomments') and site_has_comments:
|
||||
${comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path)}
|
||||
% endif
|
||||
${helper.mathjax_script(post)}
|
||||
</div>
|
||||
${comments.comment_link_script()}
|
||||
</%block>
|
||||
Loading…
Add table
Add a link
Reference in a new issue