diff options
author | Milutin Jovanović <miki@voreni.com> | 2019-06-27 20:04:47 +0300 |
---|---|---|
committer | Milutin Jovanović <miki@voreni.com> | 2019-06-27 20:04:47 +0300 |
commit | cb3849168a3d2277514e3db86bbbabbee0f110c6 (patch) | |
tree | 47a9bd932a99d8aa5cf34176a70fe427d051c15a | |
parent | 37ae1fe1696f2bd26926b044013b254e1b6b3663 (diff) |
Content from _index.md is now included in list pages.
-rw-r--r-- | layouts/_default/list.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index f4495c4..5707e1b 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -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>
\ No newline at end of file +</html> |