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

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

View File

@@ -9,6 +9,7 @@ themesDir = "../../"
[params]
brand = "aether"
description = "aether Hugo theme for blogs"
headshotimg = "img/faceshot.jpg"
[markup]
[markup.highlight]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 447 KiB

After

Width:  |  Height:  |  Size: 476 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 KiB

After

Width:  |  Height:  |  Size: 206 KiB

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>