diff --git a/layouts/index.html b/layouts/index.html index d66bf9e..a3bf99f 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,6 +2,8 @@ {{ $headless := .Site.GetPage "/homepage" }} {{ $sections := $headless.Resources.ByType "page" }} {{ $sections := cond .Site.BuildDrafts $sections (where $sections "Draft" "==" false) }} +{{ $filtered := where $sections "Params.external" "==" nil }} +