m2.nz/themes/LoveIt/layouts/shortcodes/script.html

3 lines
166 B
HTML
Raw Permalink Normal View History

2022-05-08 06:47:31 +00:00
{{- $scriptArr := (.Page.Scratch.Get "this").scriptArr | default slice -}}
{{- $scriptArr | append (trim .Inner "\n") | .Page.Scratch.SetInMap "this" "scriptArr" -}}