- {{ $img := relURL "img/headshot_example.png" }}
- {{ if isset $.Site.Params.about "headshot" }}
+ {{ $img := relURL "img/headshot_example.png" }}
+ {{ if isset $.Site.Params.about "headshot" }}
{{ if fileExists ( printf "static/img/%s" $.Site.Params.about.headshot ) }}
{{ $img := relURL ( printf "img/%s" $.Site.Params.about.headshot )}}
diff --git a/themes/sophie-lewis/layouts/partials/header.html b/themes/sophie-lewis/layouts/partials/header.html
index 71d3f7e..8d3f3c1 100644
--- a/themes/sophie-lewis/layouts/partials/header.html
+++ b/themes/sophie-lewis/layouts/partials/header.html
@@ -2,11 +2,11 @@