index.html 1.4 KB
Newer Older
1 2 3 4 5 6
{% extends "base.html" %}
{% block content %}
<div class="page-wrapper">

    <div class="content">
        <div class="pure-g">
Georg Krause's avatar
Georg Krause committed
7 8
            <div class="pure-u-1 pure-u-md-1-5"></div>
            <div class="pure-u-1 pure-u-md-3-5">
9 10 11
                {% for article in articles_page.object_list %}
                <article>
                    <header>
Georg Krause's avatar
Georg Krause committed
12 13
                        <h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
                            title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
14 15 16 17 18 19 20 21 22 23 24 25 26 27
                    </header>
                    <footer>
                        Published on
                        <time datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time>
                        <address>By
                            {% for author in article.authors %}
                            <a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
                            {% endfor %}
                        </address>
                    </footer>
                    <section>
                        {{ article.summary }}
                    </section>
                </article>
Georg Krause's avatar
Georg Krause committed
28
                <hr>
29
                {% endfor %}
Georg Krause's avatar
Georg Krause committed
30 31 32
                {% if articles_page.has_other_pages() %}
                {% include 'pagination.html' %}
                {% endif %}
33 34 35 36 37 38
            </div>
        </div>
    </div>

</div>
{% endblock %}