Moving so much stuff around

This commit is contained in:
Jef Roosens 2024-06-05 21:43:47 +02:00
parent b1719e8d24
commit cd10df9d32
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
13 changed files with 34 additions and 22 deletions

View file

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