Skip to content
Snippets Groups Projects
Unverified Commit 1d2ecfed authored by Aditya Telange's avatar Aditya Telange
Browse files

Add Support for i18n taxonomy for `tags`

closes: #876
parent 8671af6e
No related branches found
No related tags found
No related merge requests found
......@@ -36,13 +36,12 @@
{{- end }}
<footer class="post-footer">
{{- if .Params.tags }}
{{- $tags := .Language.Params.Taxonomies.tag | default "tags" }}
<ul class="post-tags">
{{- range ($.GetTerms "tags") }}
{{- range ($.GetTerms $tags) }}
<li><a href="{{ .Permalink }}">{{ .LinkTitle }}</a></li>
{{- end }}
</ul>
{{- end }}
{{- if (.Param "ShowPostNavLinks") }}
{{- partial "post_nav_links.html" . }}
{{- end }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment