fix Permalink

This commit is contained in:
Kuoi 2022-07-29 22:58:33 +01:00 committed by GitHub
parent 5d6e14dc07
commit 056bb8f5c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
<div class="news-article box">
{{ with .Data.Pages }}
{{ range .ByDate}}
<li><a {{ printf "href=%q" .URL | safeHTMLAttr }}>{{ default .Title .Params.heading }}</a></li>
<li><a {{ printf "href=%q" .Permalink | safeHTMLAttr }}>{{ default .Title .Params.heading }}</a></li>
{{ end }}
{{ end }}
</div>