diff options
author | SleepDevil <55879038+SleepDevil@users.noreply.github.com> | 2022-10-10 09:28:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-10 09:28:27 +0300 |
commit | 3affb9e4184a13156ccd59c7e6b90cd9c7718112 (patch) | |
tree | fbb61b91961ab10a50b825e31fa44cdc839ecced | |
parent | babefc97831b0104270173b07883558638466fe4 (diff) |
fix: make site brand link in header respect baseURL config (#408)
-rw-r--r-- | layouts/partials/header.html | 4 |
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 }} |