diff options
author | Christian Decker <christian.decker@reutlingen-university.de> | 2019-09-23 16:18:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-23 16:18:27 +0300 |
commit | 3302b9392cdb71b52a6715ff077cca4e60a63587 (patch) | |
tree | f3d2221d2a3366ad3430bd99016034dc07705a76 | |
parent | d43b33fe16c5dafe8a3517705bf1112a081ced51 (diff) | |
parent | 52f0b93627391ba6b61d03f8e682082765ebaba3 (diff) |
Merge pull request #1 from onedrawingperday/patch-1v1.0.4
Fix for Hugo 0.57.x
-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 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 }} |