diff --git a/layouts/partials/post_tags.html b/layouts/partials/post_tags.html index 148a613..efd3ea0 100644 --- a/layouts/partials/post_tags.html +++ b/layouts/partials/post_tags.html @@ -2,8 +2,9 @@ {{- with .Param $taxo }}
{{- range . }} - {{- $name := . -}} - {{- with $.Site.GetPage (printf "/%s/%s" $taxo ($name | urlize)) }} + {{- $url := urls.Parse (. | urlize) -}} + {{- $path := $url.Path -}} + {{- with $.Site.GetPage (printf "/%s/%s" $taxo $path) }} {{ .Title }} {{- end }} {{- end }}