fix: fix unicode broken tags (#261)

This commit is contained in:
Md Jawad Noor Asif 2023-01-04 09:10:25 +06:00 committed by GitHub
parent cfe923a1fd
commit 56f56e7d8f

View File

@ -15,7 +15,14 @@
</p>
<ul class="tags">
{{ range (.GetTerms "tags") }}
<li><a href="{{ .Permalink }}">{{ .LinkTitle | humanize }}</a></li>
<li><a href="{{ .Permalink }}">
{{if (eq $.Site.Language.Lang "en")}}
{{ .LinkTitle | humanize }}
{{else}}
{{ .LinkTitle }}
{{end}}
</a>
</li>
{{ end }}
</ul>
{{partial "toc.html" .}}