mirror of https://gitlab.com/octtspacc/sitoctt
5 lines
235 B
HTML
5 lines
235 B
HTML
|
{{- $name := (.Get 0) -}}
|
||
|
{{- with $name -}}
|
||
|
{{- with ($.Page.Param .) }}{{ . | safeHTML }}{{ else }}{{ errorf "Param %q not found: %s" $name $.Position }}{{ end -}}
|
||
|
{{- else }}{{ errorf "Missing param key: %s" $.Position }}{{ end -}}
|