Display multiple post authors of present, align tags to the right

This commit is contained in:
daudix
2024-07-20 02:00:53 +03:00
parent 0866d0725b
commit a6e0471fb2
12 changed files with 66 additions and 64 deletions

View File

@ -43,26 +43,25 @@
{%- if page.description %}
{{ page.description | markdown | safe }}
{%- endif %}
{%- if page.date %}
{%- if page.date -%}
<small>
<time datetime="{{ page.date | date(format='%+') }}" pubdate>
{{- page.date | date(format=date_format, locale=date_locale) -}}
</time>
{%- if page.authors %}
<span></span>
<span>{{ macros_translate::translate(key="author", default="Author", language_strings=language_strings) }}: {{ page.authors[0] }}</span>
{%- endif %}
{%- if page.taxonomies %}
{%- if page.authors -%}
<span> • {% include "partials/authors.html" -%}</span>
{%- endif -%}
{%- if page.taxonomies -%}
{%- for name, taxon in page.taxonomies %}
<ul class="tags">
{%-for item in taxon %}
<ul class="tags end">
{%-for item in taxon -%}
<li><a class="tag" href="{{ get_taxonomy_url(kind=name, name=item, lang=lang) }}">{{ item }}</a></li>
{%- endfor %}
</ul>
{%- endfor %}
{%- endfor -%}
{%- endif %}
</small>
{%- endif %}
{%- endif -%}
</article>
<hr>
{%- endfor %}