get in touch and footer done

This commit is contained in:
2021-08-26 15:09:09 +01:00
parent 322b6abe35
commit 334991b055
15 changed files with 81 additions and 26 deletions

View File

@ -6,7 +6,7 @@
<div class="headshot">
{{ $img := relURL "img/headshot_example.png" }}
{{ if isset $.Site.Params.about "headshot" }}
{{ if fileExists ( printf "themes/sophie-lewis/static/img/%s" $.Site.Params.about.headshot ) }}
{{ if fileExists ( printf "static/img/%s" $.Site.Params.about.headshot ) }}
{{ $img := relURL ( printf "img/%s" $.Site.Params.about.headshot )}}
<img src='{{ $img }}'>
{{ else }}