diff options
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" --> |