improve style and base layout

This commit is contained in:
2025-06-06 17:06:11 -06:00
parent 94950041f6
commit 4acfe1d027
11 changed files with 349 additions and 42 deletions

View File

@ -1,8 +1,12 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ range .Pages }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ .Summary }}
{{ end }}
<section>
{{ range .Pages }}
<article>
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<p>{{ .Content | truncate 100 }}</p>
</article>
{{ end }}
</section>
{{ end }}