github.com/anakojm/hugo-katex@v0.0.0-20231023141351-42d6f5de9c0b/tpl/tplimpl/embedded/templates/shortcodes/param.html (about) 1 {{- $name := (.Get 0) -}} 2 {{- with $name -}} 3 {{- with ($.Page.Param .) }}{{ . }}{{ else }}{{ errorf "Param %q not found: %s" $name $.Position }}{{ end -}} 4 {{- else }}{{ errorf "Missing param key: %s" $.Position }}{{ end -}}