summaryrefslogtreecommitdiff
path: root/themes/CodeIT/layouts/partials/scratch/style.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/CodeIT/layouts/partials/scratch/style.html')
-rw-r--r--themes/CodeIT/layouts/partials/scratch/style.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/CodeIT/layouts/partials/scratch/style.html b/themes/CodeIT/layouts/partials/scratch/style.html
new file mode 100644
index 0000000..8989ce1
--- /dev/null
+++ b/themes/CodeIT/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 -}}