diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 5748210..0921dae 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,5 +1,5 @@ {{ $isBig := (default .IsHome .Params.big) }} -{{ $isActualites := eq .Page.CurrentSection.Path "/actualites" }} +{{ $isActualites := $.InSection (.Site.GetPage "/actualites") }}
{{ if not $isActualites }} {{ $headless := .Site.GetPage "/" }}