{{/* For small devices: show a menu button instead */}}
{{ define "tree-nav" }} {{ $currentNode := .currentNode }} {{ $currentFileUniqueID := "" }} {{ $level := .level }} {{ $alwaysShow := .alwaysShow }} {{ with $currentNode.File }}{{ $currentFileUniqueID = .UniqueID }}{{ end }} {{ with $currentNode.File }}{{ $currentFileUniqueID = .UniqueID }}{{ end }} {{with .sect}} {{if .IsSection }} {{ $isCurrent := .InSection $currentNode }}