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

github.com/AmazingRise/hugo-theme-diary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/sidebar.html')
-rw-r--r--layouts/partials/sidebar.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 153c56f..1cb7f51 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -15,7 +15,7 @@
</a>
<div class="nav-link-list">
- {{ $current := .Permalink | absLangURL }}
+ {{ $current := .RelPermalink | absLangURL }}
{{ range .Site.Menus.main }}
{{$actived := "false"}}
<!-- A problem caused by slash: if you use "eq" directly, you will get a result of "/tags/" and "/tags" -->