{{- $page := .page }} {{- $menuID := .menuID }} {{- with index site.Menus $menuID }} {{- end }} {{- define "partials/inline/menu/walk.html" }} {{- $page := .page }} {{- range .menuEntries }} {{ if .Params.nonpage }}
  • {{.Name }} {{else if .Params.placeholder }}
  • {{.Name }} {{else}}
  • {{ .Name }} {{end}} {{- with .Children }} {{- end }}
  • {{- end }} {{- end }}