article.html 1.17 KB
Newer Older
Georg Krause's avatar
Georg Krause committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
{% extends "base.html" %}
{% block content %}
<div class="page-wrapper">

    <div class="content">
        <div class="pure-g">
            <div class="l-box-lrg pure-u-md-1-5"></div>
            <div class="l-box-lrg pure-u-1 pure-u-md-3-5">
                <article>
                    <header>
                        <h2><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
                            title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
                    </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 %}