diff options
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..a020bb1 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,20 @@ +{% extends "base.html" %} +{% block content %} +<section id="content"> +{% block content_title %} +{% endblock %} + +{% for article in articles_page.object_list %} + <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> + <div class="entry-content"> {{ article.summary }} </div><!-- /.entry-content --> + <footer class="post-info"> + <time class="published" datetime="{{ article.date.isoformat() }}"> {{ article.locale_date }} </time> + </footer><!-- /.post-info --> + </article> +{% endfor %} +{% if articles_page.has_other_pages() %} + {% include 'pagination.html' %} +{% endif %} +</section><!-- /#content --> +{% endblock content %} |