{{- $parent := eq (len .Page.Ancestors) 1 -}} {{- $modified := partial "function-page-modified.html" (dict "Context" . "Disable" true ) -}} {{- if (and $parent $modified) -}} {{- partial "gallery-walk.html" . -}} {{- end -}}