{{ $bundle := .Get 0 }} {{ $match := .Get 1 }} {{ $page := .Page.Site.GetPage $bundle }} {{ with $page }} {{ $resource := $page.Resources.GetMatch (printf "**%s*" $match ) }} {{ with $resource }}
{{ .Content }} {{ if .Params.button }} {{ .Params.button }} {{ end }}
{{ end }} {{ end }}