2023-10-16 01:36:59 +02:00
|
|
|
{% assign author = site.data.authors[include.author] %}
|
2023-10-25 13:02:05 +02:00
|
|
|
{% assign date = include.date | default: "today" | date: "%-d. %B %Y" %}
|
2023-10-16 01:36:59 +02:00
|
|
|
|
|
|
|
<div class="post-info">
|
|
|
|
{%- if author.url -%}<a href="{{ author.url | relative_url }}" target="_blank" rel="noopener">{%- endif -%}
|
|
|
|
{% if author.avatar %}
|
|
|
|
<img alt="Author's avatar" src="{{ author.avatar | relative_url }}" loading="lazy">
|
|
|
|
{% endif %}
|
|
|
|
<p class="meta">
|
|
|
|
{% if author.name %}{{ author.name }} - {% endif %}
|
|
|
|
{% assign x = date | date: "%m" | minus: 1 %}
|
2023-10-25 13:02:05 +02:00
|
|
|
{{ date | date: "%-d. " }}{{ site.data.language.str_months[x]}} {{ date | date: "%Y" }}
|
2023-10-16 01:36:59 +02:00
|
|
|
</p>
|
|
|
|
{%- if author.url -%}</a>{%- endif -%}
|
|
|
|
</div>
|