all repos — nasg @ 0b1d7cef6818487a111d00ef92b3f62b9fce282d

templates/meta-article.j2.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
 52
<article class="h-entry hentry" lang="{{ post.inLanguage }}">
    <header>
        <h3 class="p-name entry-title">
        {% if post.mentions %}
            <span>
                <svg width="16" height="16">
                    <use xlink:href="#icon-reply" />
                </svg>
                <a href="{{ post.url|relurl(baseurl) }}">
                    RE:
                </a>
                <a href="{{ post.mentions.url }}" class="u-in-reply-to">
                    {{ post.mentions.url }}
                </a>
            </span>
        {% else %}
            <a href="{{ post.url|relurl(baseurl) }}">
                {{ post.headline }}
            </a>
        {% endif %}

        </h3>
        <a href="{{ post.url }}" class="u-url bookmark"></a>
    </header>

    {% if post.description|length %}
    <div class="e-summary entry-summary">
        {{ post.description|relurl(baseurl) }}
        <span class="more">
            <a href="{{ post.url|relurl(baseurl) }}">
            {% if post.inLanguage == 'hu' %}Tovább »{% else %}Continue »{% endif %}
            </a>
        </span>
    </div>
    {% else %}
    <div class="e-content entry-content">
        {{ post.text|relurl(baseurl) }}
    </div>
    {% endif %}

    <footer aria-hidden="true" hidden="hidden">
        Published at
        <time datetime="{{ post.datePublished }}" class="dt-published published">{{ post.datePublished|printdate }}</time>
        <time datetime="{{ post.dateModified }}" class="dt-updated updated"></time>
        by
        <span class="p-author h-card vcard">
            <img class="u-photo photo" src="{{ post.author.image|relurl(baseurl) }}" alt="" />
            <a class="p-name u-url fn url org" href="{{ post.author.url }}">{{ post.author.name }}</a>
            <a class="u-email email" href="mailto:{{ post.author.email }}">{{ post.author.email }}</a>
        </span>
    </footer>
</article>