{{- $currentPage := .currentPage -}} {{- $mentioned_in := .mentioned_in -}} {{- range $menuSection, $pagePaths := partial "GetSectionsWithPagePaths.html" $mentioned_in -}} {{- if eq $menuSection "sections" -}}{{- continue -}}{{- end -}} {{- partial "graph-menu.html" (dict "cursiveMenuPrefix" "mentioned in" "menuSection" $menuSection "pagePaths" $pagePaths) -}} {{- end -}}