{{/*was used in the "recent project" part, not used anymore */}} {{ $featured_image := partial "func/GetFeaturedImage.html" . }}
{{ 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 }} {{ end }}