{{- /* Header content below the navigation bar. The components and their order come from `ananke.header.content` (page front matter or site parameters). The default is the title and the description of the page. Every component is rendered through the header hooks (see `header/component.html`). @param page page The current page. @param variant string "site" (list pages) or "page" (single pages). @param featured_image string Featured image URL, or an empty string. */ -}} {{- $header := collections.Merge . (collections.Dictionary "region" "content") -}} {{- $components := .page.Param "ananke.header.content" | compare.Default (collections.Slice "title" "description") -}} {{- range $components }} {{ partials.Include "header/component.html" (collections.Dictionary "name" . "context" $header) }} {{- end }}