article.html 1.17 KB
Newer Older
Georg Krause's avatar
Georg Krause committed
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">
Georg Krause's avatar
Georg Krause committed
9 10
                <article>
                    <header>
Georg Krause's avatar
Georg Krause committed
11 12
                        <h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
                                title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
Georg Krause's avatar
Georg Krause committed
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
                    </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.content }}
                    </section>
                </article>
            </div>
        </div>
    </div>

</div>
{% endblock %}