{{- $context := .context }} {{- $src := .src }} {{- with $context }} {{- with .Page.Resources.Match $src }} {{- range . }} {{- $src = .RelPermalink }} {{- end }} {{- end }} {{- .Page.Store.Set "hasSwagger" true }} {{- end }}