Fix adaptivity of post tags

This commit is contained in:
daudix
2024-08-11 03:53:25 +03:00
parent d129c9c6e0
commit 225d98e11e
4 changed files with 46 additions and 33 deletions

View File

@ -43,23 +43,28 @@
{{ page.description | markdown | safe }}
{%- endif %}
{%- 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>{% include "partials/authors.html" -%}</span>
{%- endif -%}
<div>
<small>
<time datetime="{{ page.date | date(format='%+') }}" pubdate>
{{- page.date | date(format=date_format, locale=date_locale) -}}
</time>
{%- if page.authors -%}
<span> • {% include "partials/authors.html" -%}</span>
{%- endif -%}
</small>
{%- if page.taxonomies -%}
{%- for name, taxon in page.taxonomies -%}
<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>
{%- for name, taxon in page.taxonomies %}
<small>
<ul class="tags">
{%-for item in taxon -%}
<li><a class="tag" href="{{ get_taxonomy_url(kind=name, name=item, lang=lang) }}">{{ item }}</a></li>
{%- endfor %}
</ul>
</small>
{%- endfor -%}
{%- endif -%}
</small>
{%- endif %}
</small>
</div>
{%- endif -%}
</article>
<hr>