aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/docs/post-meta.html6
1 files changed, 4 insertions, 2 deletions
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 -}}
- <a href="/{{$term}}/{{$single}}/">{{ $single }}</a>
+ {{ range $n, $single := $list }}{{ if $n }}, {{ end }}
+ {{ with $.Site.GetPage (printf "/%s/%s" $term $single) }}
+ <a href="{{ . }}">{{ $single }}</a>
+ {{- end }}
{{- end }}
<br />
{{ end }}