Initial restructuring

This commit is contained in:
Jef Roosens 2024-06-05 20:43:19 +02:00
parent c71d9f723b
commit b1719e8d24
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
69 changed files with 1133 additions and 3 deletions

View file

@ -0,0 +1,12 @@
{{ define "main" }}
{{ .Content }}
<h3>Latest blog posts</h3>
{{ with .GetPage "blog" }}
<ul id="posts">
{{- range first 5 .Pages }}
{{ .Render "li" }}
{{- end }}
</ul>
<a href="{{ .Permalink }}">Older</a>
{{ end }}
{{ end }}