website/themes/LoveIt/layouts/shortcodes/script.html

3 lines
166 B
HTML
Raw Normal View History

2022-12-01 17:30:08 +01:00
{{- $scriptArr := (.Page.Scratch.Get "this").scriptArr | default slice -}}
{{- $scriptArr | append (trim .Inner "\n") | .Page.Scratch.SetInMap "this" "scriptArr" -}}