Skip to content

Commit

Permalink
tags: show tag on pages when tag has space #459
Browse files Browse the repository at this point in the history
  • Loading branch information
McShelby committed Feb 1, 2023
1 parent 8a85b65 commit 85f2e13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/tags.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 85f2e13

Please sign in to comment.