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

github.com/zwbetz-gh/cupper-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzwbetz-gh <zwbetz@gmail.com>2020-06-14 22:05:19 +0300
committerzwbetz-gh <zwbetz@gmail.com>2020-06-14 22:05:19 +0300
commit93bb015db647febdc3db6dfd180ac008e3bcd067 (patch)
tree9373628081f23d43479cfd8c12330f983623362d
parent7ffa86175c08d6303812e72802ea146f2e8bca6c (diff)
fix header logo link
-rw-r--r--layouts/partials/header.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index e979479..d50df43 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,15 +1,17 @@
<header class="intro-and-nav" role="banner">
<div>
<div class="intro">
- <a class="logo" href="/" aria-label="{{ .Site.Title }} home page">
+ <a
+ class="logo"
+ href="{{ .Site.BaseURL }}"
+ aria-label="{{ .Site.Title }} home page"
+ >
<img src="{{ "images/logo.svg" | absURL }}" alt="">
</a>
<p class="library-desc">
- {{ with .Site.Params.description }}
- {{ . | markdownify }}
- {{ end }}
+ {{ with .Site.Params.description }} {{ . | markdownify }} {{ end }}
</p>
</div>
{{ partial "nav.html" . }}
</div>
-</header> \ No newline at end of file
+</header>