forked from autonomic-cooperative/sophie-lewis-hugo
MC → 🐙, tweak title
This commit is contained in:
@ -4,9 +4,9 @@
|
||||
<div class="columns">
|
||||
<div class="column is-one-third">
|
||||
<div class="headshot">
|
||||
{{ $img := relURL "img/headshot_example.png"}}
|
||||
{{ $img := relURL "img/headshot_example.png" }}
|
||||
{{ if isset $.Site.Params.about "headshot" }}
|
||||
{{ if fileExists ( printf "static/img/%s" $.Site.Params.about.headshot ) }}
|
||||
{{ if fileExists ( printf "themes/sophie-lewis/static/img/%s" $.Site.Params.about.headshot ) }}
|
||||
{{ $img := relURL ( printf "img/%s" $.Site.Params.about.headshot )}}
|
||||
<img src='{{ $img }}'>
|
||||
{{ else }}
|
||||
@ -28,4 +28,4 @@
|
||||
{{.Content}}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user