mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +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">
|
||||
{{- range sort .Params.tags }}
|
||||
{{- $tag := . }}
|
||||
{{- with $page.Site.GetPage (printf "%s%s" ("/tags/" | relURL ) $tag ) }}
|
||||
{{- with $page.Site.GetPage (printf "%s%s" ("/tags/" | relURL ) ( $tag | anchorize ) ) }}
|
||||
{{- $to := . }}
|
||||
<a class="tag-link" href="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" $to) }}">{{ $tag }}</a>
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in a new issue