Consolidate list templates to _default
Remove the blog list template since it's no different from the default list.
This commit is contained in:
parent
9995c8d10d
commit
4a6dd87603
5 changed files with 44 additions and 30 deletions
|
@ -1,7 +1,7 @@
|
|||
{{ define "main" }}
|
||||
{{ if eq . .FirstSection }}
|
||||
{{ partial "page/first_section.list.html" . }}
|
||||
{{ partial "page/first_section.list.html" (dict "page" .) }}
|
||||
{{ else }}
|
||||
{{ partial "page/descendent_section.list.html" . }}
|
||||
{{ partial "page/descendent_section.list.html" (dict "page" .) }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue