jlelse
/
Indieroad
Archived
1
Fork 0
This repository has been archived on 2020-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
Indieroad/layouts/index.html

16 lines
458 B
HTML
Raw Normal View History

2019-09-03 15:50:00 +00:00
{{ define "main" }}
<main class="main list">
{{- with .Content }}
<div class="main-content">
{{ . }}
</div>
{{- end }}
{{- $ignoredSections := ($.Param "ignoredSections" | default (slice "ignored")) }}
{{- $paginator := .Paginate ( where .Site.RegularPages "Type" "not in" $ignoredSections ) }}
2019-09-03 15:50:00 +00:00
{{- range $paginator.Pages }}
{{- .Render "summary" }}
{{- end }}
2019-11-19 08:40:10 +00:00
{{ partial "authorbox.html" . }}
2019-09-03 15:50:00 +00:00
</main>
{{ partial "pagination.html" . }}
{{ end }}