diff options
author | Vincent Douillet <vincent@vdouillet.fr> | 2021-09-04 21:38:06 +0200 |
---|---|---|
committer | Vincent Douillet <vincent@vdouillet.fr> | 2021-09-04 21:38:06 +0200 |
commit | e78dd2f6212bfbd293b98e4278ead77d5ab70984 (patch) | |
tree | 014b9fcafd4f49875eedd24f48b55f25825fef06 /templates/index.html |
Initial commit
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 %} |