mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 22:15:11 +00:00
navbar: Fix scrollspy not highlighting active menu item
Fix commit 524b562.
This commit is contained in:
1 parent
9e14c8a74e
commit
8800882700
1 file changed
+1
-1
@@ -59,7 +59,7 @@
|
||||
{{ end }}
|
||||
|
||||
<li class="nav-item">
|
||||
<a href="{{ .URL | relLangURL }}"{{ if $.IsHome }} data-target="{{ (slicestr .URL 0 4) }}{{ .URL }}"{{ end }}{{ ($.Scratch.Get "target") | safeHTMLAttr }}>
|
||||
<a href="{{ .URL | relLangURL }}"{{ if $.IsHome }} data-target="{{ .URL }}"{{ end }}{{ ($.Scratch.Get "target") | safeHTMLAttr }}>
|
||||
{{ .Pre }}
|
||||
<span>{{ .Name }}</span>
|
||||
{{ .Post }}
|
||||
|
||||
Reference in new issue
Block a user