display taxonomies in article list block

This commit is contained in:
Ashla
2025-04-16 00:33:37 -04:00
parent c9bfc1a977
commit 37cbddbf3e
3 changed files with 11 additions and 8 deletions

View File

@ -61,11 +61,13 @@
{%- if page.taxonomies -%}
{%- for name, taxon in page.taxonomies %}
<ul class="taxonomies">
{%-for item in taxon -%}
<li><a class="taxon" href="{{ get_taxonomy_url(kind=name, name=item, lang=lang) }}">{{ item }}</a></li>
<ul class="tags">
<a class="tag" href="{{- get_url(path='$TAXON', lang=lang) | replace(from="$TAXON", to=name) | lower -}}">{{ name }}:</a>
{%- for item in taxon -%}
<li><a class="tag" href="{{ get_taxonomy_url(kind=name, name=item, lang=lang) }}">{{ item }}</a></li>
{%- endfor %}
</ul>
<br />
{%- endfor -%}
{%- endif %}
</div>