🐛 Fixed the tags link 404 in post footer.
This commit is contained in:
parent
f92118257a
commit
ebd38a18ae
@ -82,7 +82,7 @@
|
||||
<div class="tag-cloud-tags">
|
||||
{{ $randNums := (seq 10) }}
|
||||
{{- range $name, $items := $tags }}
|
||||
<a class="tag-cloud-{{ index (shuffle $randNums) 0 }}" href="{{ "/tags/" | relLangURL }}{{ $name | urlize }}/">{{ .Page.Title }}
|
||||
<a class="tag-cloud-{{ index (shuffle $randNums) 0 }}" href="{{ "/tags/" | relLangURL }}{{ $name | urlize }}/">{{ .Page.Title }}
|
||||
<span class="tag-list-count">
|
||||
<sup>({{ len $items }})</sup>
|
||||
</span>
|
||||
|
@ -1,7 +1,7 @@
|
||||
{{ with .Params.tags }}
|
||||
<div class="post-tags">
|
||||
{{ range . }}
|
||||
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize | lower }}">
|
||||
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}/">
|
||||
{{ . }}
|
||||
</a>
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user