disabilitazione homepage per post specifici
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 1m47s

This commit is contained in:
Paolo Asperti 2024-10-31 22:00:50 +01:00
parent 45a35dc792
commit 500522c314
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -1,4 +1,6 @@
{{- $pages := (where .ctx.Site.RegularPages "Section" "in" .item.sections ) }}
{{- $pages := (where $pages ".Params.homepage" "ne" false ) }}
{{- if gt (len $pages) 0 }}
<section class="wrapper style1">
<div class="container">