{{ $currentMenuEntry := .Scratch.Get "currentMenuEntry" }} {{ $isCurrent := eq .Permalink ($currentMenuEntry.URL | absURL | printf "%s") }} {{ $currentMenuEntry.Pre }} {{ $currentMenuEntry.Name }} {{ if $isCurrent }}