cullmann.io/themes/CodeIT/layouts/shortcodes/script.html

3 lines
166 B
HTML

{{- $scriptArr := (.Page.Scratch.Get "this").scriptArr | default slice -}}
{{- $scriptArr | append (trim .Inner "\n") | .Page.Scratch.SetInMap "this" "scriptArr" -}}