From 69fff3b9dd4357140748adf52a76820a8a592fb8 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Wed, 11 May 2022 01:02:51 +0200 Subject: Remove no longer used shortcodes --- layouts/shortcodes/br.html | 2 -- layouts/shortcodes/html-tag.html | 4 ---- 2 files changed, 6 deletions(-) delete mode 100644 layouts/shortcodes/br.html delete mode 100644 layouts/shortcodes/html-tag.html diff --git a/layouts/shortcodes/br.html b/layouts/shortcodes/br.html deleted file mode 100644 index 4e84243..0000000 --- a/layouts/shortcodes/br.html +++ /dev/null @@ -1,2 +0,0 @@ - -
diff --git a/layouts/shortcodes/html-tag.html b/layouts/shortcodes/html-tag.html deleted file mode 100644 index 15a7814..0000000 --- a/layouts/shortcodes/html-tag.html +++ /dev/null @@ -1,4 +0,0 @@ -{{ $optBlock := dict "display" "block" }} -{{ print "<" | safeHTML }}{{ .Get "tag" | default "div" }}{{ with .Get "id" }} id="{{ . }}"{{ end }}{{ with .Get "class" }} class="{{ . }}"{{ end }}{{ with .Get "style" }} style="{{ . | safeCSS }}"{{ end }}{{ print ">" | safeHTML }} -{{ with .Inner }}{{ . | $.Page.RenderString $optBlock }}{{ end }} -{{ print "" | safeHTML }} -- cgit v1.2.3