diff --git a/layouts/_partials/init/index.html b/layouts/_partials/init/index.html index c78e23d8..0cd49960 100644 --- a/layouts/_partials/init/index.html +++ b/layouts/_partials/init/index.html @@ -1,4 +1,4 @@ -{{- hugo.Store.Set "version" "v0.4.0-alpha.2-20250916024218-5d03f558" -}} +{{- hugo.Store.Set "version" "v0.4.0-alpha.2-20250916043850-a228cce0" -}} {{- .Store.Set "this" dict -}} {{- partial "init/detection-env.html" . -}} diff --git a/layouts/home.html b/layouts/home.html index 1e883fa9..9a434327 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -25,9 +25,8 @@ {{- end -}} - {{- /* Posts */ -}} - {{- if ne $posts.enable false | and .Site.RegularPages -}} - {{- /* Paginate */ -}} + {{- /* Paginate */ -}} + {{- if ne $posts.enable false -}} {{- $pages := .Site.Store.Get "mainSectionPages" -}} {{- if .Site.Params.page.hiddenFromHomePage -}} {{- $pages = where $pages "Params.hiddenfromhomepage" false -}}