nasg/templates/meta-article.j2.html

53 lines
1.8 KiB
HTML
Raw Normal View History

<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 }}">
RE:
</a>
<a href="{{ post.mentions.url }}" class="u-in-reply-to">
{{ post.mentions.url }}
</a>
</span>
{% else %}
<a href="{{ post.url }}">
{{ 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 }}
<span class="more">
<a href="{{ post.url }}">
{% if post.inLanguage == 'hu' %}Tovább »{% else %}Continue »{% endif %}
</a>
</span>
</div>
{% else %}
<div class="e-content entry-content">
{{ post.text }}
</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 }}" alt="" />
<a class="p-name u-url fn url" 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>