{{ $featured_image := .Params.featured_image }} {{ if $featured_image }} {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}} {{ $featured_image := (trim $featured_image "/") | absURL }} {{ 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 }}