diff options
author | Christoph Cullmann <cullmann@kde.org> | 2022-08-14 19:01:21 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2022-08-14 19:01:21 +0200 |
commit | 51fb029ca27d67d7cd67352cdede45e5b25868f7 (patch) | |
tree | 6d8e34b2abdc757310ffe11189e926d017417bae /themes/CodeIT/layouts/shortcodes/style.html | |
parent | 260b6803e78609e16ad3d59792f1681d9df0f1e4 (diff) |
switch back to LoveIt, other theme is deprectated
Diffstat (limited to 'themes/CodeIT/layouts/shortcodes/style.html')
-rw-r--r-- | themes/CodeIT/layouts/shortcodes/style.html | 8 |
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" -}} |