From 23f0e1561767dd8a396188e317bae5920d171ea8 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sun, 16 Aug 2015 16:38:25 +0200 Subject: Initial import of my nikola website --- themes/erdgeist/templates/post.tmpl | 51 +++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 themes/erdgeist/templates/post.tmpl (limited to 'themes/erdgeist/templates/post.tmpl') diff --git a/themes/erdgeist/templates/post.tmpl b/themes/erdgeist/templates/post.tmpl new file mode 100644 index 0000000..c1a0ad7 --- /dev/null +++ b/themes/erdgeist/templates/post.tmpl @@ -0,0 +1,51 @@ +## -*- 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"> + ${parent.extra_head()} + % if post.meta('keywords'): + + % endif + %if post.description(): + + %endif + + %if post.prev_post: + + %endif + %if post.next_post: + + %endif + % if post.is_draft: + + % endif + ${helper.open_graph_metadata(post)} + ${helper.twitter_card_information(post)} + ${helper.meta_translations(post)} + + +<%block name="content"> +
+ ${pheader.html_post_header()} +
+ ${post.text()} +
+ + % if not post.meta('nocomments') and site_has_comments: +
+

${messages("Comments")}

+ ${comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path)} +
+ % endif + ${helper.mathjax_script(post)} +
+${comments.comment_link_script()} + -- cgit v1.2.3