aboutsummaryrefslogtreecommitdiffstats
path: root/uikit/templates/article.html
blob: 43d94fe7e29b5af45d521707e8d8c2c5de9f3f95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% extends "uikit.html" %}
{% import 'article_macros.html' as article_macros %}
{% import 'html_macros.html' as html_macros %}

{% block head %}
{{ super() }} {{ html_macros.get_meta(article) }}
{% endblock head %}
{% block titlename %}{{article.title|capitalize}}{% endblock titlename %}

{% block content %}
<article>
<div class="uk-article">
    <header>
    <h1 class="{% if CAPITALIZE_HEADINGS %}capitalize{% endif %} uk-article-title">
        <a href="/{{ article.url }}">{{ article.title }}</a>
    </h1>
    <p class="uk-article-meta">
    {{ article_macros.get_meta(SITEURL, article) }}
    </p>
    </header>
    {{ article.content }}
</div>
</article>
{% endblock content %}