aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/docs/post-meta.html
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-01-16 09:58:53 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-01-16 09:58:53 +0100
commitdb73f20cb53e7f04fd3f629495106e5f107c91b5 (patch)
treead939d08522baf2368e012a6d986410c1ab10e7e /layouts/partials/docs/post-meta.html
parent68f096fa4c69a72cde18eb07a716ff76c0900bea (diff)
#130, Fix post metadata links regression, add RelPermalink
Diffstat (limited to 'layouts/partials/docs/post-meta.html')
-rw-r--r--layouts/partials/docs/post-meta.html2
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 />