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

11 lines
244 B
HTML
Raw Normal View History

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