diff options
author | Vasudev Kamath <vasudev@copyninja.info> | 2016-04-17 16:55:53 +0530 |
---|---|---|
committer | Vasudev Kamath <vasudev@copyninja.info> | 2016-04-17 16:55:53 +0530 |
commit | 4df407bf2a1735c5ab5d75230e66a688ed231b08 (patch) | |
tree | d44296680e998fdd6640569453059c0c7966313c /templates/index.html | |
parent | f1b37410dd85f42d663f1eb591ac9bde567eeb47 (diff) |
Update theme for my taste
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 17 |
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 --> |