Convert list page into hugo templates
This commit is contained in:
parent
607f15580c
commit
00465629d2
11 changed files with 98 additions and 19 deletions
7
layouts/partials/posts.html
Normal file
7
layouts/partials/posts.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
{{ range .Pages }}
|
||||
{{ if .IsNode }}
|
||||
{{ partial "posts.html" . }}
|
||||
{{ else }}
|
||||
{{ partial "cards/post.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue