mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2025-04-24 08:01:30 +00:00
#130, Fix post metadata links regression, add RelPermalink
This commit is contained in:
parent
68f096fa4c
commit
db73f20cb5
@ -9,7 +9,7 @@
|
||||
{{ with $list := index $.Params $term }}
|
||||
{{ range $n, $single := $list }}{{ if $n }}, {{ end }}
|
||||
{{ with $.Site.GetPage (printf "/%s/%s" $term $single) }}
|
||||
<a href="{{ . }}">{{ $single }}</a>
|
||||
<a href="{{ .RelPermalink }}">{{ $single }}</a>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
<br />
|
||||
|
Loading…
Reference in New Issue
Block a user