diff options
author | AmazingRise <8315221+AmazingRise@users.noreply.github.com> | 2022-07-30 15:38:16 +0300 |
---|---|---|
committer | AmazingRise <8315221+AmazingRise@users.noreply.github.com> | 2022-07-30 15:38:16 +0300 |
commit | 5017b8bb9533ac5801918d05f67e13a9d6881859 (patch) | |
tree | 3c403877d476328286a6a58aeb2ba97c49844de5 /layouts/partials/mobile-header.html | |
parent | 9f527cd28ce76205858011c9c97b30eb8e10393d (diff) |
Fixed #133
Diffstat (limited to 'layouts/partials/mobile-header.html')
-rw-r--r-- | layouts/partials/mobile-header.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/mobile-header.html b/layouts/partials/mobile-header.html index ad59cda..4e1c738 100644 --- a/layouts/partials/mobile-header.html +++ b/layouts/partials/mobile-header.html @@ -6,7 +6,7 @@ <script async src="https://cse.google.com/cse.js?cx={{.Site.Params.googleSearchCode}}"></script> <div class="gcse-searchbox-only" mobileLayout="true"></div> {{ end }} - {{ $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" --> |