🐛 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">
|
<div class="tag-cloud-tags">
|
||||||
{{ $randNums := (seq 10) }}
|
{{ $randNums := (seq 10) }}
|
||||||
{{- range $name, $items := $tags }}
|
{{- 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">
|
<span class="tag-list-count">
|
||||||
<sup>({{ len $items }})</sup>
|
<sup>({{ len $items }})</sup>
|
||||||
</span>
|
</span>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{{ with .Params.tags }}
|
{{ with .Params.tags }}
|
||||||
<div class="post-tags">
|
<div class="post-tags">
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize | lower }}">
|
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}/">
|
||||||
{{ . }}
|
{{ . }}
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user