From 51fb029ca27d67d7cd67352cdede45e5b25868f7 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 14 Aug 2022 19:01:21 +0200 Subject: switch back to LoveIt, other theme is deprectated --- themes/CodeIT/layouts/partials/function/id.html | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 themes/CodeIT/layouts/partials/function/id.html (limited to 'themes/CodeIT/layouts/partials/function/id.html') diff --git a/themes/CodeIT/layouts/partials/function/id.html b/themes/CodeIT/layouts/partials/function/id.html deleted file mode 100644 index e84ef9c..0000000 --- a/themes/CodeIT/layouts/partials/function/id.html +++ /dev/null @@ -1,8 +0,0 @@ -{{- /* ID */ -}} -{{- $count := (.Scratch.Get "this").count | default 1 -}} -{{- $id := printf "id-%d" $count -}} -{{- $count | add 1 | .Scratch.SetInMap "this" "count" -}} -{{- with .Content -}} - {{- dict $id . | dict "data" | dict "config" | merge ($.Scratch.Get "this") | $.Scratch.Set "this" -}} -{{- end -}} -{{- return $id -}} -- cgit v1.2.3