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:
-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 }}