Updating UI for lists

This commit is contained in:
2026-04-03 21:27:47 +01:00
parent 11b9f68b02
commit 4832b812b2
3 changed files with 109 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
{{ define "main" }}
<h1 id="{{ .Title | urlize }}">{{ .Title | markdownify }}</h1>
{{ .Content }}
<ul class="post-list">
{{ range .Pages.ByDate.Reverse }} {{ .Render "li" }} {{ end }}
</ul>
{{ end }} {{define "aside" }} {{ if .Params.description }}
<p>{{ .Params.description }}</p>
{{ end }} {{ end }}