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

github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Chucheng <ccwangchn@gmail.com>2020-11-09 18:44:13 +0300
committerWang Chucheng <ccwangchn@gmail.com>2020-11-09 18:44:13 +0300
commit18467c04ead1ac90b894b02e49af15e5be15af68 (patch)
treec0e6764c847b54b4a31940761cb16b5b17d58405 /layouts/partials
parent070255abb183f176b8380847692984ec14f13ef0 (diff)
fix: title link error on themes.gohugo.io
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 399bec7..84003c8 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -8,7 +8,7 @@
}
</script>
<nav class="flex items-center justify-between flex-wrap p-4">
- <a href="{{ "/" | absLangURL }}" class="mr-6 text-primary-text text-xl font-bold">{{ .Site.Title }}</a>
+ <a href="{{ "/" | relLangURL }}" class="mr-6 text-primary-text text-xl font-bold">{{ .Site.Title }}</a>
<button id="navbar-btn" class="md:hidden flex items-center px-3 py-2" aria-label="Open Navbar">
<i class="fas fa-bars"></i>
</button>