diff options
author | Yauhen Shulitski <jsnjack@gmail.com> | 2019-08-17 17:21:55 +0300 |
---|---|---|
committer | Yauhen Shulitski <jsnjack@gmail.com> | 2019-08-17 17:21:55 +0300 |
commit | b94a13bde2272739893ae528a9f0831592b00096 (patch) | |
tree | 5dbde2fd4e7b3a4a1ef83ae4b34da5ec617396fb | |
parent | eb1899d4ca34f9a8201c589388352683f92d0cfd (diff) |
:m: Update to work with hugo 0.57+
-rw-r--r-- | layouts/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/index.html b/layouts/index.html index 3615138..b07d453 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -7,11 +7,11 @@ <div class="container grid-lg"> <div class="columns"> <div class="column col-10 col-sm-12 col-mx-auto text-left"> - {{ $paginator := .Paginate ( where .Pages.ByWeight.Reverse "Section" "released" ) }} + {{ $paginator := .Paginate ( where .Site.RegularPages.ByWeight.Reverse "Section" "released" ) }} <div class="section timeline"> {{ if eq $paginator.PageNumber 1 }} - {{ $deprecatedFeatures := where .Pages "Section" "deprecated" }} + {{ $deprecatedFeatures := where .Site.RegularPages "Section" "deprecated" }} {{ if $deprecatedFeatures }} <div class="accordion deprecated"> <input type="checkbox" id="accordion-1" name="accordion-checkbox" hidden> @@ -37,7 +37,7 @@ </div> {{ end }} - {{ $experimentalPages := where .Pages "Section" "experimental" }} + {{ $experimentalPages := where .Site.RegularPages "Section" "experimental" }} {{ if $experimentalPages }} <div class="timeline-item experimental"> <div class="timeline-left"> |