mirror of
https://github.com/alrayyes/wiki.git
synced 2025-01-19 03:43:23 +00:00
fix: fix unicode broken tags (#261)
This commit is contained in:
parent
614a6222a1
commit
c5b103c85f
1 changed files with 8 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue