fix: fix unicode broken tags (#261)
This commit is contained in:
parent
5fd105f35f
commit
0b89b92cf0
@ -15,7 +15,14 @@
|
|||||||
</p>
|
</p>
|
||||||
<ul class="tags">
|
<ul class="tags">
|
||||||
{{ range (.GetTerms "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 }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
{{partial "toc.html" .}}
|
{{partial "toc.html" .}}
|
||||||
|
Loading…
Reference in New Issue
Block a user