Browse Source

Fix taxonomy linking for multilingual posts

master
Julio Biason 4 years ago
parent
commit
fb4dc98c11
  1. 2
      templates/macros/post.html

2
templates/macros/post.html

@ -95,7 +95,7 @@
{%- set sep = " " -%} {%- set sep = " " -%}
{% endif -%} {% endif -%}
{%- for tag in page.taxonomies.tags %} {%- for tag in page.taxonomies.tags %}
<a class="post-tag" href="{{ get_taxonomy_url(kind='tags', name=tag) | safe }}">#{{ tag }}</a> <a class="post-tag" href="{{ get_taxonomy_url(kind='tags', lang=page.lang, name=tag) | safe }}">#{{ tag }}</a> #}
{%- if not loop.last %}{{ sep | safe }}{% endif -%} {%- if not loop.last %}{{ sep | safe }}{% endif -%}
{% endfor -%} {% endfor -%}
</span> </span>

Loading…
Cancel
Save