Content from _index.md is now included in list pages.
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
<p class="list-header-subtext">{{ .Description }}</p>
|
<p class="list-header-subtext">{{ .Description }}</p>
|
||||||
<h1 class="list-header-title">{{ .Title }}</h1>
|
<h1 class="list-header-title">{{ .Title }}</h1>
|
||||||
</header>
|
</header>
|
||||||
|
{{ .Content }}
|
||||||
{{ $paginator := .Paginate (where .Pages "Params.displayinlist" "!=" false) -}}
|
{{ $paginator := .Paginate (where .Pages "Params.displayinlist" "!=" false) -}}
|
||||||
{{- range $paginator.Pages -}}
|
{{- range $paginator.Pages -}}
|
||||||
{{ .Render "li" }}
|
{{ .Render "li" }}
|
||||||
|
|||||||
Reference in New Issue
Block a user