{{- $featured_image := partial "func/GetFeaturedImage.html" . -}} {{- if $featured_image -}} {{- .Scratch.Set "featured_image" $featured_image -}} {{- partial "header-image-style.html" . }} {{ partial "site-navigation.html" . }} {{ if not .Params.omit_header_text }} {{ .Title | default .Site.Title }} {{ with .Params.description }} {{ . }} {{ end }} {{ end }} {{ else }} {{ partial "site-navigation.html" . }} {{ end }}