mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 15:57:57 +00:00
tags: show tag on pages when tag has space #459
This commit is contained in:
parent
8a85b6554a
commit
85f2e1344e
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
{{- range sort .Params.tags }}
|
{{- range sort .Params.tags }}
|
||||||
{{- $tag := . }}
|
{{- $tag := . }}
|
||||||
{{- with $page.Site.GetPage (printf "%s%s" ("/tags/" | relURL ) $tag ) }}
|
{{- with $page.Site.GetPage (printf "%s%s" ("/tags/" | relURL ) ( $tag | anchorize ) ) }}
|
||||||
{{- $to := . }}
|
{{- $to := . }}
|
||||||
<a class="tag-link" href="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" $to) }}">{{ $tag }}</a>
|
<a class="tag-link" href="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" $to) }}">{{ $tag }}</a>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue