2019-11-19 04:39:28 +00:00
|
|
|
{{/* This will override the default value set in baseof.html; i.e., "{{.Site.Title}}" in the original example */}}
|
|
|
|
{{ define "title" }}
|
|
|
|
{{ .Title }} – {{ .Site.Title }}
|
|
|
|
{{ end }}
|
2019-11-21 04:38:53 +00:00
|
|
|
{{ define "content-header" }}
|
2019-12-07 18:51:12 +00:00
|
|
|
<h1 class="p-name">{{ .Title }}</h1>
|
2019-11-20 00:16:20 +00:00
|
|
|
{{ end }}
|
2019-11-21 04:38:53 +00:00
|
|
|
{{ define "content" }}
|
2019-12-07 18:51:12 +00:00
|
|
|
<header class="list-content e-content">
|
2019-11-21 04:38:53 +00:00
|
|
|
{{ .Content }}
|
|
|
|
</header>
|
2019-11-24 21:51:04 +00:00
|
|
|
{{ range $index, $page := (.Paginate (where .Pages ".Params.hidden" "!=" "true")).Pages }}
|
|
|
|
{{ if ne $index 0 }}
|
2019-11-21 04:38:53 +00:00
|
|
|
{{ end }}
|
2019-11-24 21:51:04 +00:00
|
|
|
{{ .Render "summary" }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ define "content-footer" }}
|
|
|
|
{{ partial "paginator.html" .Paginator }}
|
2019-11-21 04:38:53 +00:00
|
|
|
{{ end }}
|