From c2751f34ac63bf0ffa2405f77579d3ba1cea380e Mon Sep 17 00:00:00 2001 From: Sebastian Tobie Date: Thu, 7 Jul 2022 00:45:08 +0200 Subject: [PATCH] simplified the hervorhebung shortcut --- themes/meins/layouts/shortcodes/hervorhebung.html | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/themes/meins/layouts/shortcodes/hervorhebung.html b/themes/meins/layouts/shortcodes/hervorhebung.html index f3ded11..8785441 100644 --- a/themes/meins/layouts/shortcodes/hervorhebung.html +++ b/themes/meins/layouts/shortcodes/hervorhebung.html @@ -1,6 +1,2 @@ -{{ $class := .Get 0 }} -{{ if .Get 1 }} - -{{ end }} -{{ .Inner }} -{{ if .Get 1 }}{{ end }} \ No newline at end of file +{{ $class := .Get "class" }} +{{ .Inner }} \ No newline at end of file