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/index.tmpl | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 themes/erdgeist/templates/index.tmpl (limited to 'themes/erdgeist/templates/index.tmpl') diff --git a/themes/erdgeist/templates/index.tmpl b/themes/erdgeist/templates/index.tmpl new file mode 100644 index 0000000..81340dd --- /dev/null +++ b/themes/erdgeist/templates/index.tmpl @@ -0,0 +1,35 @@ +## -*- coding: utf-8 -*- +<%namespace name="helper" file="index_helper.tmpl"/> +<%namespace name="comments" file="comments_helper.tmpl"/> +<%inherit file="base.tmpl"/> + +<%block name="content"> +${helper.html_pager()} +
+% for post in posts: +
+
+

${post.title()|h}

+ +
+ %if index_teasers: +
+ ${post.text(teaser_only=True)} + %else: +
+ ${post.text(teaser_only=False)} + %endif +
+
+% endfor +
+${helper.html_pager()} +${comments.comment_link_script()} +${helper.mathjax_script(posts)} + -- cgit v1.2.3