Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/josephhutch/aether.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Hutchinson <hutch7995@gmail.com>2020-10-22 21:45:32 +0300
committerJoe Hutchinson <hutch7995@gmail.com>2020-10-22 21:45:32 +0300
commitecc2482582119a6a9f9f142702121ef10f448c8f (patch)
tree677a8bf3f968a27fb34155492dfc13bb1bef96ff
parent86bd082af59c8a2fa1edf1e3fdb9b2ef6724b27b (diff)
Make headshot url a parameter
-rw-r--r--exampleSite/assets/img/faceshot.jpgbin0 -> 67775 bytes
-rw-r--r--exampleSite/assets/img/faceshot.pngbin6653 -> 0 bytes
-rw-r--r--exampleSite/config.toml1
-rwxr-xr-ximages/screenshot.pngbin458144 -> 487814 bytes
-rwxr-xr-ximages/tn.pngbin191520 -> 210569 bytes
-rw-r--r--layouts/_default/home.html2
6 files changed, 2 insertions, 1 deletions
diff --git a/exampleSite/assets/img/faceshot.jpg b/exampleSite/assets/img/faceshot.jpg
new file mode 100644
index 0000000..4a55b80
--- /dev/null
+++ b/exampleSite/assets/img/faceshot.jpg
Binary files differ
diff --git a/exampleSite/assets/img/faceshot.png b/exampleSite/assets/img/faceshot.png
deleted file mode 100644
index b6650ed..0000000
--- a/exampleSite/assets/img/faceshot.png
+++ /dev/null
Binary files differ
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index bd44169..d286c3c 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -9,6 +9,7 @@ themesDir = "../../"
[params]
brand = "aether"
description = "aether Hugo theme for blogs"
+ headshotimg = "img/faceshot.jpg"
[markup]
[markup.highlight]
diff --git a/images/screenshot.png b/images/screenshot.png
index 9678c52..faf8f79 100755
--- a/images/screenshot.png
+++ b/images/screenshot.png
Binary files differ
diff --git a/images/tn.png b/images/tn.png
index 849672a..3480392 100755
--- a/images/tn.png
+++ b/images/tn.png
Binary files differ
diff --git a/layouts/_default/home.html b/layouts/_default/home.html
index 43d097d..9664ee6 100644
--- a/layouts/_default/home.html
+++ b/layouts/_default/home.html
@@ -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>