Move article.page wrapping to summary.html instead of at list template

I am trying to make various templates and partials act more like
self-contained components.

This is in preparation for #113.
This commit is contained in:
2025-09-01 00:43:18 -05:00
parent 37dbdc53af
commit 6251b033d5
5 changed files with 52 additions and 52 deletions

View File

@@ -1,9 +1,7 @@
<div class="page-list">
{{ with . }}
{{ range . }}
<article class="page">
{{ .Render "summary" }}
</article>
{{ .Render "summary" }}
{{ end }}
{{ else }}
<div>