hugo-theme-relearn/layouts/_default/list.html

14 lines
279 B
HTML
Raw Normal View History

2017-03-13 23:43:12 +00:00
{{ if .Content }}
{{ partial "header.html" . }}
2017-03-13 22:07:40 +00:00
{{ .Content }}
{{ partial "footer.html" . }}
2017-03-13 23:43:12 +00:00
{{ else }}
{{ with (index (index .Site.Sections .Section) 0) }}
{{ with .Page }}
{{ partial "header.html" . }}
{{ .Content }}
{{ partial "footer.html" . }}
{{ end }}
2017-03-13 23:10:33 +00:00
{{ end }}
2017-03-13 23:43:12 +00:00
{{ end }}