You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
416 B
19 lines
416 B
3 years ago
|
{{ define "title" -}}
|
||
|
{{ .Site.Title }}
|
||
|
{{- end }}
|
||
|
{{ define "header" }}
|
||
|
{{ partial "menu.html" . }}
|
||
|
{{ end }}
|
||
|
{{ define "main" }}
|
||
|
<header>
|
||
|
<h1>{{ .Title }}</h1>
|
||
|
</header>
|
||
|
{{ range (.Paginate (where .Data.Pages "Type" "post")).Pages }}
|
||
|
{{ partial "page-summary.html" . }}
|
||
|
{{ end }}
|
||
|
{{ end }}
|
||
|
{{ define "footer" }}
|
||
|
{{ partial "pagination.html" . }}
|
||
|
{{ partial "powered-by.html" . }}
|
||
|
{{ end }}
|