github.com/choria-io/go-choria@v0.28.1-0.20240416190746-b3bf9c7d5a45/docs/themes/hugo-theme-relearn/layouts/partials/topbar/button/sidebar.html (about) 1 {{- $onwidths := cond (isset . "onwidths") .onwidths "show" }} 2 {{- $onwidthm := cond (isset . "onwidthm") .onwidthm "hide" }} 3 {{- $onwidthl := cond (isset . "onwidthl") .onwidthl "hide" }} 4 {{- with .page }} 5 {{- partial "topbar/func/button.html" (dict 6 "page" . 7 "class" "topbar-button-sidebar" 8 "href" "javascript:toggleNav()" 9 "icon" "bars" 10 "onwidths" $onwidths 11 "onwidthm" $onwidthm 12 "onwidthl" $onwidthl 13 "hint" (printf "%s (CTRL+ALT+n)" (T "Navigation-toggle")) 14 )}} 15 {{- end }}