ref: 8e5566af6e44a365ce838fc5f38e442115906202
dir: /tpl/tplimpl/embedded/templates/shortcodes/param.html/
{{- $name := (.Get 0) -}} {{- with $name -}} {{- with ($.Page.Param .) }}{{ . }}{{ else }}{{ errorf "Param %q not found: %s" $name $.Position }}{{ end -}} {{- else }}{{ errorf "Missing param key: %s" $.Position }}{{ end -}}