{{- /* header.html — sticky site header: logo (brand name from data), primary nav, language switcher and a desktop affiliate CTA. The region/compliance data layer (age/RG/currency/payment filtering) is applied headlessly by locale-switcher.html — it no longer renders a visible selector, but its script must still run on every page. */ -}} {{- $noCtaSlugs := slice "faq" "responsible-gambling" "terms" "privacy-policy" "cookie-policy" "affiliate-disclosure" "about" "editorial-policy" -}} {{- $hideCta := or .Params.hideCta (in $noCtaSlugs .Slug) (eq .Section "authors") -}}
{{ partial "responsive-image.html" (dict "src" .Site.Data.brand.logoPath "alt" (printf "%s logo" .Site.Data.brand.name) "class" "h-9 w-9" "loading" "eager") }} {{ .Site.Data.brand.name }} {{ partial "nav.html" . }}
{{ if gt (len site.Languages) 1 }}{{ partial "language-switcher.html" . }}{{ end }} {{ if not $hideCta }} {{ end }}
{{ partial "locale-switcher.html" . }}