feat: mobile menu for docs menu
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
kolaente 2022-01-29 18:00:12 +01:00
parent 33689bc0c2
commit 6151b56926
Signed by: konrad
GPG Key ID: F40E70337AB24C9B

View File

@ -1,4 +1,8 @@
<aside class="px-2 text-gray-600">
<a class="navbar-burger py-2 px-1 m-2 mt-6 bg-gray-200 rounded-sm text-center block lg:hidden" data-target="docsMenu">
Show Menu
</a>
<aside class="px-2 text-gray-600 hidden lg:block" id="docsMenu">
{{ $currentNode := . }}
{{ range .Site.Menus.sidebar }}
{{ if .HasChildren }}