add section and sub-section specific list layouts

This commit is contained in:
acarril 2023-05-03 20:02:01 -04:00
parent dfac1163bf
commit 99087e86c0
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,5 @@
{{ define "main" }}
{{ range .Sections }}
{{- partial "posts.html" . -}}
{{ end }}
{{ end }}

3
layouts/setup/list.html Normal file
View file

@ -0,0 +1,3 @@
{{ define "main" }}
{{- partial "posts.html" . -}}
{{ end }}