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:
Diffstat (limited to 'layouts/partials/main.html')
-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 488a6a2..ba97bd2 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" .Site.Params.mainSections }}
+{{ range $index, $element := where (.Site.RegularPages.ByParam "sec") "Section" "in" .Site.Params.mainSections }}
{{ if modBool $index 2 }}
<div class="content-section-a">
{{ else }}