Fix tag link for multilingual mode + add translations

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
hossainemruz 2021-08-16 22:25:48 +06:00
parent f6b334b13e
commit c855899b0a
15 changed files with 86 additions and 1 deletions

View file

@ -58,7 +58,8 @@
<div class="taxonomy-terms">
<ul>
{{ range .Params.tags }}
<li class="rounded"><a href="/tags/{{ . | urlize }}" class="btn, btn-sm">{{ . }}</a></li>
{{ $url:= printf "tags/%s" . }}
<li class="rounded"><a href="{{ $url | urlize | relLangURL }}" class="btn, btn-sm">{{ . }}</a></li>
{{ end }}
</ul>
</div>