all repos — nasg @ b4d73208df93b6bccc595e46636c5347cbfe675a

templates/Category_article.html (view raw)

 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
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
{% include 'block_header_open.html' %}
    <title>{{ taxonomy.title }}</title>
    <link rel="alternate" type="application/atom+xml" title="{{ taxonomy.title }} feed" href="{{ taxonomy.feed }}" />
    <link rel="self" href="{{ site.url }}{{ taxonomy.feed }}/" />

{% include 'block_header_close.html' %}

<section class="content-body h-feed">
    <aside class="follow">
        <p>
            <svg class="icon" width="16" height="16">
                <use xlink:href="#icon-rss" />
            </svg>
            <a title="follow {{ taxonomy.title }}" rel="feed" href="{{ site.url }}{{ taxonomy.feed }}">XML feed</a>
        </p>
    </aside>

    <h1 class="p-name hide">{{ taxonomy.name }}</h1>

{% for year in by_year.keys()|sort(reverse=True) %}
    <h2>{{ year }}</h2>
    {% for post in by_year[year]|sort(attribute='pubtime',reverse=True) %}
        <article class="h-entry hentry" lang="{{ post.lang }}">
            <header>
                <h3>{% include 'Singular_title.html' %}</h3>
            </header>

            {% if post.summary %}
            <div class="e-summary entry-summary">
                {{ post.summary }}
                <span class="more">
                    <a href="/{{ post.slug }}" title="{{ post.title }}">
                    {% if post.lang == 'hu' %}Tovább »{% else %}Continue »{% endif %}
                    </a>
                </span>
                <br class="clear" />
            </div>
            {% else %}
            <div class="e-content entry-content">
                {% if post.photo %}
                    {{ post.photo }}
                {% endif %}
                {{ post.html }}
            </div>
            {% endif %}
        </article>
    {% endfor %}
{% endfor %}
</section>

{% include 'block_footer.html' %}