diff options
author | cdeck3r <cdecker@outlook.de> | 2019-08-08 10:11:35 +0300 |
---|---|---|
committer | cdeck3r <cdecker@outlook.de> | 2019-08-08 10:11:35 +0300 |
commit | 6d85b154e980df53d330dfe36fa145dc4b147b64 (patch) | |
tree | c195669142c5d6d16c55b05f251b7f008071fcf1 /layouts | |
parent | 2ab7cf7099a9b444cf27e20223080cb80cc69f0b (diff) |
.Site.Params.mainSections, re-org of post dir contentv1.0.1
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/main.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/main.html b/layouts/partials/main.html index b91c6c2..488a6a2 100644 --- a/layouts/partials/main.html +++ b/layouts/partials/main.html @@ -1,7 +1,7 @@ <section id="main"> <!-- Page Content --> -{{ range $index, $element := where (.Data.Pages.ByParam "sec") "Section" "in" "post" }} +{{ range $index, $element := where (.Data.Pages.ByParam "sec") "Section" "in" .Site.Params.mainSections }} {{ if modBool $index 2 }} <div class="content-section-a"> {{ else }} |