Content from _index.md is now included in list pages.

This commit is contained in:
Milutin Jovanović
2019-06-27 13:04:47 -04:00
parent 37ae1fe169
commit cb3849168a

View File

@@ -8,6 +8,7 @@
<p class="list-header-subtext">{{ .Description }}</p>
<h1 class="list-header-title">{{ .Title }}</h1>
</header>
{{ .Content }}
{{ $paginator := .Paginate (where .Pages "Params.displayinlist" "!=" false) -}}
{{- range $paginator.Pages -}}
{{ .Render "li" }}
@@ -21,4 +22,4 @@
{{ end -}}
{{ partial "scripts.html" . }}
</body>
</html>
</html>