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

github.com/reuixiy/hugo-theme-meme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSleepDevil <55879038+SleepDevil@users.noreply.github.com>2022-10-10 09:28:27 +0300
committerGitHub <noreply@github.com>2022-10-10 09:28:27 +0300
commit3affb9e4184a13156ccd59c7e6b90cd9c7718112 (patch)
treefbb61b91961ab10a50b825e31fa44cdc839ecced
parentbabefc97831b0104270173b07883558638466fe4 (diff)
fix: make site brand link in header respect baseURL config (#408)
-rw-r--r--layouts/partials/header.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index fa7dc17..88bf447 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -18,9 +18,9 @@
{{ define "site-brand" }}
<div class="site-brand">
{{ if .Site.Params.siteBrandSVG }}
- <a href="{{ print `/` | relLangURL }}">{{ partial "utils/icon.html" (dict "$" . "name" "brand") }}</a>
+ <a href="{{ "" | relLangURL }}">{{ partial "utils/icon.html" (dict "$" . "name" "brand") }}</a>
{{ else }}
- <a href="{{ print `/` | relLangURL }}" class="brand">{{ .Site.Title }}</a>
+ <a href="{{ "" | relLangURL }}" class="brand">{{ .Site.Title }}</a>
{{ end }}
</div>
{{ end }}