summaryrefslogtreecommitdiff
path: root/themes/erdgeist/templates/index.tmpl
diff options
context:
space:
mode:
authorerdgeist <erdgeist@bauklotz.local>2015-08-16 16:38:25 +0200
committererdgeist <erdgeist@bauklotz.local>2015-08-16 16:38:25 +0200
commit23f0e1561767dd8a396188e317bae5920d171ea8 (patch)
treea67f44e39ad8a45e42d60634488a65c37f3ad432 /themes/erdgeist/templates/index.tmpl
Initial import of my nikola website
Diffstat (limited to 'themes/erdgeist/templates/index.tmpl')
-rw-r--r--themes/erdgeist/templates/index.tmpl35
1 files changed, 35 insertions, 0 deletions
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 @@
1## -*- coding: utf-8 -*-
2<%namespace name="helper" file="index_helper.tmpl"/>
3<%namespace name="comments" file="comments_helper.tmpl"/>
4<%inherit file="base.tmpl"/>
5
6<%block name="content">
7${helper.html_pager()}
8<div class="col-md-9 col-lg-7 col-sm-12 postindex">
9% for post in posts:
10 <article class="h-entry post-${post.meta('type')}">
11 <header>
12 <h1 class="p-name entry-title"><a href="${post.permalink()}" class="u-url">${post.title()|h}</a></h1>
13 <div class="metadata">
14 <p class="byline author vcard"><span class="byline-name fn">${post.author()}</span></p>
15 <p class="dateline"><a href="${post.permalink()}" rel="bookmark"><time class="published dt-published" datetime="${post.date.isoformat()}" title="${post.formatted_date(date_format)}">${post.formatted_date(date_format)}</time></a></p>
16 % if not post.meta('nocomments') and site_has_comments:
17 <p class="commentline">${comments.comment_link(post.permalink(), post._base_path)}
18 % endif
19 </div>
20 </header>
21 %if index_teasers:
22 <div class="p-summary entry-summary">
23 ${post.text(teaser_only=True)}
24 %else:
25 <div class="e-content entry-content">
26 ${post.text(teaser_only=False)}
27 %endif
28 </div>
29 </article>
30% endfor
31</div>
32${helper.html_pager()}
33${comments.comment_link_script()}
34${helper.mathjax_script(posts)}
35</%block>