mirror of https://github.com/grpc/grpc.io.git
Fix accordion logic
Signed-off-by: lucperkins <lucperkins@gmail.com>
This commit is contained in:
parent
90be3caa36
commit
cc51bd3c03
|
|
@ -4,8 +4,8 @@
|
||||||
|
|
||||||
<div class="nav is-sticky is-hidden-touch">
|
<div class="nav is-sticky is-hidden-touch">
|
||||||
{{ range $docsSections }}
|
{{ range $docsSections }}
|
||||||
{{ $thisSection := eq .CurrentSection $currentSection }}
|
{{ $isThisSection := eq .CurrentSection.Title $currentSection.Title }}
|
||||||
<div class="nav-section" x-data="{ open: {{ $thisSection }} }">
|
<div class="nav-section" x-data="{ open: {{ $isThisSection }} }">
|
||||||
{{ $isHere := eq $here .RelPermalink }}
|
{{ $isHere := eq $here .RelPermalink }}
|
||||||
{{ $title := .Title | upper }}
|
{{ $title := .Title | upper }}
|
||||||
<nav class="level">
|
<nav class="level">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue