diff --git a/themes/ccchh/layouts/partials/blog-header.html b/themes/ccchh/layouts/partials/blog-header.html index 7c27276..0a927b3 100644 --- a/themes/ccchh/layouts/partials/blog-header.html +++ b/themes/ccchh/layouts/partials/blog-header.html @@ -38,6 +38,9 @@ {{- end }} {{- end }} - {{ if isset .Params "header" }} {{ .Params.header.caption }} {{ end }} + {{- if isset .Params "header" }} + {{- $img := .Resources.GetMatch .Params.header.image }} + {{ .Params.header.caption }} + {{- end }} {{- end }}