summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html17
1 files changed, 7 insertions, 10 deletions
diff --git a/templates/index.html b/templates/index.html
index 4bd8198..429020e 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,4 +1,10 @@
{% extends "base.html" %}
+{% block menu %}
+ {% for p in PAGES %}
+ | <a href="{{ SITEURL}}/{{p.url}}">{{p.title}}</a> |
+ {% endfor %}
+<h1><a href="{{ SITEURL }}">Home</a></h1>
+{% endblock %}
{% block content %}
<section id="content">
{% block content_title %}
@@ -8,16 +14,7 @@
<ol id="post-list">
{% for article in articles_page.object_list %}
<li><article class="hentry">
- <header> <h2 class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> </header>
- <footer class="post-info">
- <abbr class="published" title="{{ article.date.isoformat() }}"> {{ article.locale_date }} </abbr>
- <address class="vcard author">By
- {% for author in article.authors %}
- <a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
- {% endfor %}
- </address>
- </footer><!-- /.post-info -->
- <div class="entry-content"> {{ article.summary }} </div><!-- /.entry-content -->
+ <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a>
</article></li>
{% endfor %}
</ol><!-- /#posts-list -->