diff --git a/themes/hugo-sustain/layouts/partials/blog/headerimage.html b/themes/hugo-sustain/layouts/partials/blog/headerimage.html index eb20855..03fa041 100644 --- a/themes/hugo-sustain/layouts/partials/blog/headerimage.html +++ b/themes/hugo-sustain/layouts/partials/blog/headerimage.html @@ -15,11 +15,14 @@ {{- $filter := .filter }} {{- if not $image }} {{- warnf "Header image '%s' not found for page %s" .src $page.RelPermalink }} - {{- end }} - {{- with $image }} + {{- else }} {{- $image = partial "image-processing" (dict "image" $image "processes" $processes "filter" $filter) -}} - + {{ . }} + {{- with .text }}

{{ . | markdownify }}

{{ end }} {{- end }} - {{- with .text }}

{{ . | markdownify }}

{{ end }} {{- end }}