{{ $currentSection := .Section -}} {{ $currentID := "" -}} {{ with .File }}{{ $currentID = .UniqueID }}{{ end -}}