hackertours-theme/layouts/_default/list.html
2017-05-17 00:33:54 +02:00

19 lines
585 B
HTML

{{ define "title" }}{{ if not .IsHome }}{{ .Title }} - {{ .Site.Title }}{{ end }}{{ end }}
{{ define "meta" }}
{{ partial "section_meta.html" . -}}
{{ end }}
{{ define "main" -}}
<main class="{{ if $.Param "sidebar" | default true }}layout-3col__left-content{{ else }}layout-3col__full{{ end }}" role="main">
{{ $paginator := .Paginate (.Data.Pages) -}}
{{ range $paginator.Pages -}}
{{ .Render "summary"}}
{{ end -}}
{{ partial "pagination.html" . }}
</main>
{{ partial "menu.html" . -}}
{{ if $.Param "sidebar" | default true }}{{ partial "sidebar.html" . -}}{{ end }}
{{ end }}