summaryrefslogtreecommitdiff
path: root/themes/CodeIT/layouts/shortcodes/style.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/CodeIT/layouts/shortcodes/style.html')
-rw-r--r--themes/CodeIT/layouts/shortcodes/style.html8
1 files changed, 0 insertions, 8 deletions
diff --git a/themes/CodeIT/layouts/shortcodes/style.html b/themes/CodeIT/layouts/shortcodes/style.html
deleted file mode 100644
index 8e03596..0000000
--- a/themes/CodeIT/layouts/shortcodes/style.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{{- $content := .Inner | .Page.RenderString -}}
-{{- $id := dict "Scratch" .Page.Scratch | partial "function/id.html" -}}
-{{- $tag := .Get 1 | default "div" -}}
-{{- printf `<%v id="%v">%v</%v>` $tag $id $content $tag | safeHTML -}}
-
-{{- $style := .Get 0 | printf "#%v{%v}" $id -}}
-{{- $styleArr := (.Page.Scratch.Get "this").styleArr | default slice -}}
-{{- $styleArr | append $style | .Page.Scratch.SetInMap "this" "styleArr" -}}