Update list.html

This commit is contained in:
Kuoi 2022-07-29 22:56:17 +01:00 committed by GitHub
parent b88a7e5bf0
commit 1b25a5d974
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
<div class="news-article box"> <div class="news-article box">
{{ with .Data.Pages }} {{ with .Data.Pages }}
{{ range .ByDate}} {{ 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 }}
{{ end }} {{ end }}
</div> </div>