feat: add support for non-docs sections
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
{{ .Site.Params.Title }}
|
||||
</a>
|
||||
|
||||
{{ if eq .Section "docs" -}}
|
||||
{{ if (in .Site.Params.sections.sectionNav .Section) -}}
|
||||
<button class="btn btn-link order-0 ms-auto d-lg-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasExample" aria-controls="offcanvasExample">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-more-horizontal"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg>
|
||||
</button>
|
||||
|
Reference in New Issue
Block a user