mirror of
https://github.com/LukasJoswiak/etch.git
synced 2024-05-16 21:28:31 -04:00
add section and sub-section specific list layouts
This commit is contained in:
parent
dfac1163bf
commit
99087e86c0
5
layouts/resources/list.html
Normal file
5
layouts/resources/list.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
{{ define "main" }}
|
||||
{{ range .Sections }}
|
||||
{{- partial "posts.html" . -}}
|
||||
{{ end }}
|
||||
{{ end }}
|
3
layouts/setup/list.html
Normal file
3
layouts/setup/list.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
{{ define "main" }}
|
||||
{{- partial "posts.html" . -}}
|
||||
{{ end }}
|
Loading…
Reference in a new issue