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

github.com/jeremybise/twentynineteen-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Bise <jeremy.bise@thosegeeks.com>2019-04-26 20:14:00 +0300
committerJeremy Bise <jeremy.bise@thosegeeks.com>2019-04-26 20:14:00 +0300
commitc75e6e0b7595d5fb56d10df17b7bc1c63384e2d0 (patch)
tree4d93dea4a8c9b2358da4753b2264f89eec53a7a7
parent8c56f7e5d6ad66a811ff745b6a4db8f580f8be34 (diff)
use .Site.BaseURL for links home, add image to exampleSite
-rw-r--r--exampleSite/static/uploads/pexels-coffee.jpgbin0 -> 38704 bytes
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--layouts/partials/header/site-branding.html2
3 files changed, 2 insertions, 2 deletions
diff --git a/exampleSite/static/uploads/pexels-coffee.jpg b/exampleSite/static/uploads/pexels-coffee.jpg
new file mode 100644
index 0000000..f9e0f17
--- /dev/null
+++ b/exampleSite/static/uploads/pexels-coffee.jpg
Binary files differ
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 29c1198..3befa06 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -2,7 +2,7 @@
{{ partial "footer/footer-widgets" . }}
<div class="site-info">
- <a class="site-name" href="/" rel="home">{{ .Site.Title }}</a>,
+ <a class="site-name" href="{{ .Site.BaseURL }}" rel="home">{{ .Site.Title }}</a>,
<a href="https://gohugo.io" class="imprint">
Proudly powered by Hugo
</a>
diff --git a/layouts/partials/header/site-branding.html b/layouts/partials/header/site-branding.html
index b4c8e94..286edc9 100644
--- a/layouts/partials/header/site-branding.html
+++ b/layouts/partials/header/site-branding.html
@@ -1,6 +1,6 @@
<div class="site-branding">
<h1 class="site-title">
- <a href="/" rel="home">{{ .Site.Title }}</a>
+ <a href="{{ .Site.BaseURL }}" rel="home">{{ .Site.Title }}</a>
</h1>
{{ with .Site.Params.description }}