Replace <li> in page lists with semantic HTML <article>

This commit is contained in:
bbaovanc committed 2022-05-21 23:20:22 -05:00
1 parent 73dc916d5a
commit a65a435b1d
9 files changed
+118 -112

No files matched your search

+5 -5
View File
@@ -1,10 +1,10 @@
<div class="page-list">
{{ with . }}
<ul>
{{ range . }}
<li>{{ .Render "summary/post" }}</li>
{{ end }}
</ul>
{{ range . }}
<article class="post">
{{ .Render "summary/post" }}
</article>
{{ end }}
{{ else }}
<div>
{{ i18n "no_posts" }}