From b9f45270a07a49851979f3a5a7acf449eb1ad3f3 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Mon, 13 Jan 2020 18:06:09 +0100 Subject: #122, Fix post taxonomy list links (include base url) --- layouts/partials/docs/post-meta.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'layouts/partials/docs/post-meta.html') diff --git a/layouts/partials/docs/post-meta.html b/layouts/partials/docs/post-meta.html index 37b6080..b1cca0a 100644 --- a/layouts/partials/docs/post-meta.html +++ b/layouts/partials/docs/post-meta.html @@ -7,8 +7,10 @@ {{ range $term, $_ := .Site.Taxonomies }} {{ with $list := index $.Params $term }} - {{ range $n, $single := $list }}{{ if $n }}, {{ end -}} - {{ $single }} + {{ range $n, $single := $list }}{{ if $n }}, {{ end }} + {{ with $.Site.GetPage (printf "/%s/%s" $term $single) }} + {{ $single }} + {{- end }} {{- end }}
{{ end }} -- cgit v1.2.3