{{- /* Header component: the `description` from the front matter of the page. Renders nothing if the page has no description. The `site` variant (list pages) renders an `h2`. The `page` variant (single pages) renders a `div`. */ -}} {{- $context := . -}} {{- with partials.Include "func/GetExplicitPageField.html" (dict "page" .page "field" "description") -}} {{- if compare.Eq $context.variant "page" -}}