summaryrefslogtreecommitdiff
path: root/themes/hugo-classic/layouts/_default/list.html
blob: 41d9d89ba559352eb00d635479e5ea3910b4226d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{{ partial "header.html" . }}

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

{{ .Content }}

<ul>
  {{ range (where .Data.Pages "Section" "!=" "") }}
  <li>
    <span class="date">{{ .Date.Format "2006/01/02" }}</span>
    <a href="{{ .URL }}">{{ .Title }}</a>
  </li>
  {{ end }}
</ul>

{{ partial "footer.html" . }}