Make headshot url a parameter

This commit is contained in:
Joe Hutchinson
2020-10-22 14:45:32 -04:00
parent 86bd082af5
commit ecc2482582
6 changed files with 2 additions and 1 deletions

View File

@@ -10,7 +10,7 @@
{{ with .Title }}<h1 class="home-blob-title">{{ . }}</h1>{{ end }}
{{ with .Description }}<p class="home-blob-text">{{ . }}</p>{{ end }}
</div>
{{ with resources.Get "img/faceshot.png" -}}
{{ with resources.GetMatch .Site.Params.headshotimg -}}
<div class="home-faceshot-card">
<img class="home-faceshot" src="{{ .Permalink }}" >
</div>