Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cdeck3r/OneDly-Theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcdeck3r <cdecker@outlook.de>2019-08-08 10:11:35 +0300
committercdeck3r <cdecker@outlook.de>2019-08-08 10:11:35 +0300
commit6d85b154e980df53d330dfe36fa145dc4b147b64 (patch)
treec195669142c5d6d16c55b05f251b7f008071fcf1 /layouts
parent2ab7cf7099a9b444cf27e20223080cb80cc69f0b (diff)
.Site.Params.mainSections, re-org of post dir contentv1.0.1
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/main.html2
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 }}