diff options
Diffstat (limited to 'themes/LoveIt/layouts/partials/scratch/script.html')
-rw-r--r-- | themes/LoveIt/layouts/partials/scratch/script.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/LoveIt/layouts/partials/scratch/script.html b/themes/LoveIt/layouts/partials/scratch/script.html new file mode 100644 index 0000000..480ad2f --- /dev/null +++ b/themes/LoveIt/layouts/partials/scratch/script.html @@ -0,0 +1,4 @@ +{{- $this := .Scratch.Get "this" -}} +{{- $script := $this.script | default slice -}} +{{- $script = $script | append (slice .Data) -}} +{{- .Scratch.SetInMap "this" "script" $script -}} |