hugo-theme-relearn/layouts/_default/list.html
Nikolay Yakimov 7aa1e70638
Fixes, see description
* fix menu ordering when mixing chapters and non-chapters
* allow for `chapter` type override in `_index` pages
* fix breadcrumbs
* fix some crashes with empty categories
* use page context in list.html (to avoid setting uniqueid in scratch)
* use UniqueID instead of relative links for page identification
2017-03-27 22:57:49 +03:00

13 lines
279 B
HTML

{{ if .Content }}
{{ partial "header.html" . }}
{{ .Content }}
{{ partial "footer.html" . }}
{{ else }}
{{ with (index (index .Site.Sections .Section) 0) }}
{{ with .Page }}
{{ partial "header.html" . }}
{{ .Content }}
{{ partial "footer.html" . }}
{{ end }}
{{ end }}
{{ end }}