Make headshot url a parameter
This commit is contained in:
BIN
exampleSite/assets/img/faceshot.jpg
Normal file
BIN
exampleSite/assets/img/faceshot.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 66 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 6.5 KiB |
@@ -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 |
BIN
images/tn.png
BIN
images/tn.png
Binary file not shown.
|
Before Width: | Height: | Size: 187 KiB After Width: | Height: | Size: 206 KiB |
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user