diff --git a/themes/hugo-sustain/layouts/partials/head.html b/themes/hugo-sustain/layouts/partials/head.html index ff57ba8..57bda9c 100644 --- a/themes/hugo-sustain/layouts/partials/head.html +++ b/themes/hugo-sustain/layouts/partials/head.html @@ -12,7 +12,7 @@ {{- $title = print .Site.Title " | " .Title -}} {{- end -}} {{- end -}} - {{- $image := "/img/profile.jpg" -}} + {{- $image := path.Join "/img" .Site.Params.avatar -}} {{- if isset .Params "headerimage" }} {{ $image = print "img/" .Params.headerimage }} {{ end -}}