From 640785e8b30a25122653b0013c0f1e0d806c3904 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Sun, 27 Sep 2020 20:46:11 +0000 Subject: [PATCH] new hugo --- layouts/home/index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/layouts/home/index.html b/layouts/home/index.html index e1a8369..e330006 100644 --- a/layouts/home/index.html +++ b/layouts/home/index.html @@ -21,7 +21,8 @@
- {{ range $index, $element := .Data.Pages }} + {{ $pag := .Paginate (where (where .Site.Pages "Type" "features") "Title" "!=" "Features") }} + {{ range .Paginator.Pages }} {{ if eq .Section "features" }}
{{ .Content }} @@ -58,4 +59,4 @@
-{{ partial "footer.html" . }} +{{ partial "footer.html" . }} \ No newline at end of file