#130, Fix post metadata links regression, add RelPermalink

This commit is contained in:
Alex Shpak 2020-01-16 09:58:53 +01:00
parent 68f096fa4c
commit db73f20cb5

View file

@ -9,7 +9,7 @@
{{ with $list := index $.Params $term }} {{ with $list := index $.Params $term }}
{{ range $n, $single := $list }}{{ if $n }}, {{ end }} {{ range $n, $single := $list }}{{ if $n }}, {{ end }}
{{ with $.Site.GetPage (printf "/%s/%s" $term $single) }} {{ with $.Site.GetPage (printf "/%s/%s" $term $single) }}
<a href="{{ . }}">{{ $single }}</a> <a href="{{ .RelPermalink }}">{{ $single }}</a>
{{- end }} {{- end }}
{{- end }} {{- end }}
<br /> <br />