{{ $current := . }} {{ template "tree-nav" dict "sect" .Site.Home.Sections "current" $current }} {{ define "tree-nav" }} {{ $current := .current }}