diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-01-16 09:58:53 +0100 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-01-16 09:58:53 +0100 |
commit | db73f20cb53e7f04fd3f629495106e5f107c91b5 (patch) | |
tree | ad939d08522baf2368e012a6d986410c1ab10e7e /layouts/partials | |
parent | 68f096fa4c69a72cde18eb07a716ff76c0900bea (diff) |
#130, Fix post metadata links regression, add RelPermalink
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/docs/post-meta.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/docs/post-meta.html b/layouts/partials/docs/post-meta.html index b1cca0a..a129944 100644 --- a/layouts/partials/docs/post-meta.html +++ b/layouts/partials/docs/post-meta.html @@ -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 /> |