{{ $current := .current }} {{ template "menu-file" dict "sect" .source "current" $current "site" $current.Site }} {{ define "menu-file" }} {{ $current := .current }} {{ $site := .site }}