summaryrefslogtreecommitdiff
path: root/themes/LoveIt/layouts/partials/scratch
diff options
context:
space:
mode:
Diffstat (limited to 'themes/LoveIt/layouts/partials/scratch')
-rw-r--r--themes/LoveIt/layouts/partials/scratch/script.html4
-rw-r--r--themes/LoveIt/layouts/partials/scratch/style.html4
2 files changed, 8 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 -}}
diff --git a/themes/LoveIt/layouts/partials/scratch/style.html b/themes/LoveIt/layouts/partials/scratch/style.html
new file mode 100644
index 0000000..8989ce1
--- /dev/null
+++ b/themes/LoveIt/layouts/partials/scratch/style.html
@@ -0,0 +1,4 @@
+{{- $this := .Scratch.Get "this" -}}
+{{- $style := $this.style | default slice -}}
+{{- $style = $style | append (slice .Data) -}}
+{{- .Scratch.SetInMap "this" "style" $style -}}