initial commit to seperate repo
This commit is contained in:
commit
8630e4db13
23669 changed files with 1067407 additions and 0 deletions
37
themes/zen/templates/story.tmpl
Normal file
37
themes/zen/templates/story.tmpl
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
## -*- 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="post.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)}
|
||||
%if post.description():
|
||||
<meta name="description" itemprop="description" content="${post.description()}">
|
||||
%endif
|
||||
</%block>
|
||||
|
||||
<%block name="content">
|
||||
<article class="storypage" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<header>
|
||||
${arusahni.html_title()}
|
||||
${arusahni.html_translations(post)}
|
||||
</header>
|
||||
<div itemprop="articleBody text">
|
||||
${post.text()}
|
||||
</div>
|
||||
%if site_has_comments and enable_comments and not post.meta('nocomments'):
|
||||
<section class="comments">
|
||||
<h2>${messages("Comments")}</h2>
|
||||
${comments.comment_form(post.permalink(absolute=True), post.title(), post.base_path)}
|
||||
</section>
|
||||
%endif
|
||||
</article>
|
||||
</%block>
|
||||
Loading…
Add table
Add a link
Reference in a new issue