aboutsummaryrefslogtreecommitdiffstats
path: root/uikit/templates/index.html
blob: bd3d405113c8b4fcd8e011644ae11f252c76423b (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
25
26
27
28
29
30
31
32
{% extends "uikit.html" %}
{% import 'article_macros.html' as article_macros %}
{% block head %}
{{super()}}
{% endblock head %}
{% block titlename %}{{'welcome!'|capitalize}}{% endblock titlename %}
{% block content %}
{% block heading %}
<h1 class="heading uk-text-primary">
{{ HEADING }}
</h1>
{% endblock heading %}
{% if articles %}
    {% for article in articles|sort(reverse=True,attribute='date') %}
        <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>
        {{ article.summary }}
        <p>
        <a class="uk-button uk-button-primary" href="{{SITEURL}}/{{article.url}}">Continue Reading</a>
        <!--
        <a class="uk-button" href="">Comments</a>
        -->
        </p>
    {% endfor %}
    {#
    #}
{% endif %}
{% endblock content %}