mirror of
https://gitlab.com/octtspacc/sitoctt
synced 2025-06-05 22:09:20 +02:00
Nuovi bottoni, fix vecchie pagine, aggiornamento Raccolta siti web
This commit is contained in:
4
layouts/shortcodes/htmlparam.html
Normal file
4
layouts/shortcodes/htmlparam.html
Normal file
@@ -0,0 +1,4 @@
|
||||
{{- $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 -}}
|
Reference in New Issue
Block a user