diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2021-04-29 19:02:59 +0530 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2021-04-29 19:02:59 +0530 |
| commit | 43e1648b3e598765386eeccc3b765f8c441617dc (patch) | |
| tree | eb911e9a73a76f7f8a6c538cc21fe78762265512 /layouts/partials/header.html | |
| parent | 2f409920e1528626757dd17dc99636ea83abcf99 (diff) | |
Improve scripts for menu-scroll
- also fixes menu-scroll-position not working in search page
Diffstat (limited to 'layouts/partials/header.html')
| -rw-r--r-- | layouts/partials/header.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index e23db22..173763b 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -139,7 +139,7 @@ </span> </div> {{- $currentPage := . }} - <ul id="menu" onscroll="menu_on_scroll()"> + <ul id="menu"> {{- range .Site.Menus.main }} {{- $menu_item_url := (cond (strings.HasSuffix .URL "/") .URL (printf "%s/" .URL) ) | absLangURL }} {{- $page_url:= $currentPage.Permalink | absLangURL }} |
