summaryrefslogtreecommitdiffstats
path: root/layouts/_default/list.html
blob: 744f390fc98a2cedbd125f2522b88ec65aed1cca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{ partial "header.html" . }}

{{if not .IsHome }}
<h1>{{ .Title | markdownify }}</h1>
{{ end }}

{{ .Content }}

<ul>
  {{ $pages := .Pages }}
  {{ if .IsHome }}{{ $pages = .Site.RegularPages }}{{ end }}
  {{ range (where $pages "Section" "!=" "") }}
  {{ partial "post-element.html" . }}
  {{ end }}
</ul>

{{ partial "footer.html" . }}