2019-08-23 09:06:26 +01:00
|
|
|
{% if 'Photograph' == post['@type'] and post.image[0].width > post.image[0].height %}
|
|
|
|
{% set flexval_raw = post.image[0].width / post.image[0].height %}
|
|
|
|
{% else %}
|
|
|
|
{% set flexval_raw = 1 %}
|
|
|
|
{% endif %}
|
|
|
|
{% set flexval = flexval_raw|round|int %}
|
|
|
|
|
|
|
|
<article class="h-entry hentry" style="flex-grow: {{ flexval }}" lang="{{ post.inLanguage }}">
|
2019-06-17 12:00:57 +01:00
|
|
|
<header class="entry-header">
|
2019-02-07 19:27:15 +00:00
|
|
|
<h3 class="p-name entry-title">
|
|
|
|
{% if post.mentions %}
|
|
|
|
<span>
|
|
|
|
<svg width="16" height="16">
|
|
|
|
<use xlink:href="#icon-reply" />
|
|
|
|
</svg>
|
2019-02-16 00:14:12 +00:00
|
|
|
<a href="{{ post.url|relurl(baseurl) }}">
|
2019-02-07 19:27:15 +00:00
|
|
|
RE:
|
|
|
|
</a>
|
|
|
|
<a href="{{ post.mentions.url }}" class="u-in-reply-to">
|
|
|
|
{{ post.mentions.url }}
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
{% else %}
|
2019-02-16 00:14:12 +00:00
|
|
|
<a href="{{ post.url|relurl(baseurl) }}">
|
2019-02-07 19:27:15 +00:00
|
|
|
{{ post.headline }}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
</h3>
|
2019-02-08 23:32:52 +00:00
|
|
|
<a href="{{ post.url }}" class="u-url bookmark"></a>
|
2019-02-07 19:27:15 +00:00
|
|
|
</header>
|
|
|
|
|
|
|
|
{% if post.description|length %}
|
2019-06-19 13:19:20 +01:00
|
|
|
<section class="e-summary entry-summary">
|
2019-02-16 00:14:12 +00:00
|
|
|
{{ post.description|relurl(baseurl) }}
|
2019-02-07 19:27:15 +00:00
|
|
|
<span class="more">
|
2019-02-16 00:14:12 +00:00
|
|
|
<a href="{{ post.url|relurl(baseurl) }}">
|
2019-02-07 19:27:15 +00:00
|
|
|
{% if post.inLanguage == 'hu' %}Tovább »{% else %}Continue »{% endif %}
|
|
|
|
</a>
|
|
|
|
</span>
|
2019-06-19 13:19:20 +01:00
|
|
|
</section>
|
2019-02-07 19:27:15 +00:00
|
|
|
{% else %}
|
2019-06-19 13:19:20 +01:00
|
|
|
<section class="e-content entry-content">
|
2019-02-16 00:14:12 +00:00
|
|
|
{{ post.text|relurl(baseurl) }}
|
2019-06-19 13:19:20 +01:00
|
|
|
</section>
|
2019-02-07 19:27:15 +00:00
|
|
|
{% endif %}
|
|
|
|
|
2019-06-17 12:00:57 +01:00
|
|
|
<footer class="entry-footer" aria-hidden="true" hidden="hidden">
|
2019-02-08 23:32:52 +00:00
|
|
|
Published at
|
|
|
|
<time datetime="{{ post.datePublished }}" class="dt-published published">{{ post.datePublished|printdate }}</time>
|
|
|
|
<time datetime="{{ post.dateModified }}" class="dt-updated updated"></time>
|
|
|
|
by
|
2019-02-07 19:27:15 +00:00
|
|
|
<span class="p-author h-card vcard">
|
2019-02-16 00:14:12 +00:00
|
|
|
<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>
|
2019-02-08 23:32:52 +00:00
|
|
|
<a class="u-email email" href="mailto:{{ post.author.email }}">{{ post.author.email }}</a>
|
2019-02-07 19:27:15 +00:00
|
|
|
</span>
|
|
|
|
</footer>
|
|
|
|
</article>
|