[gnomegr-web] More version compatibility changes



commit 5714642073777716172595d88ce3822b57c388a3
Author: Andrea Veri <averi redhat com>
Date:   Fri Apr 15 17:55:02 2022 +0200

    More version compatibility changes

 themes/deneb-hugo-theme/layouts/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/themes/deneb-hugo-theme/layouts/index.html b/themes/deneb-hugo-theme/layouts/index.html
index c68decd..4583c2d 100644
--- a/themes/deneb-hugo-theme/layouts/index.html
+++ b/themes/deneb-hugo-theme/layouts/index.html
@@ -9,7 +9,7 @@
         {{ end }}
 
         <div class="posts-list">
-          {{ $pag := .Paginate (where .Data.Pages "Type" "post") }}
+          {{ $pag := .Paginate (where site.RegularPages "Type" "post") }}
           {{ range $pag.Pages }}
             <article class="post-preview col-xs-12 col-lg-3">
               <a href="{{ .Permalink }}">


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]