Replies: 1 comment 1 reply
-
I'm sorry, I'm a bit busy (other priorities). I hope to get back to you tomorrow! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have some questions about the code in
layout/partials/header/header.html
.Active Menu
In this example(doks-multilingual). When I click Docs Menu:
($current.IsMenuCurrent "main" .) ($current.HasMenuCurrent "main" .)
return false.(eq .Name ($section | humanize))
return true.(eq $current.Section $section)
is always true?IsMenuCurrent
andHasMenuCurrent
not working?section
and.Name
, what happens if.Name
has a dash-
?humanize
will not work if.Name
is "Foo Bar"{{ T .Name }}
inside the<li>
tag?Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions