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 --- .../LoveIt/layouts/partials/function/content.html | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 themes/LoveIt/layouts/partials/function/content.html (limited to 'themes/LoveIt/layouts/partials/function/content.html') diff --git a/themes/LoveIt/layouts/partials/function/content.html b/themes/LoveIt/layouts/partials/function/content.html new file mode 100644 index 0000000..250a5b7 --- /dev/null +++ b/themes/LoveIt/layouts/partials/function/content.html @@ -0,0 +1,23 @@ +{{- $content := .Content -}} + +{{- if $content -}} + + {{- if .Ruby -}} + {{- $content = partial "function/ruby.html" $content -}} + {{- end -}} + + {{- if .Fraction -}} + {{- $content = partial "function/fraction.html" $content -}} + {{- end -}} + + {{- if .Fontawesome -}} + {{- $content = partial "function/fontawesome.html" $content -}} + {{- end -}} + + {{- $content = partial "function/checkbox.html" $content -}} + + {{- $content = partial "function/escape.html" $content -}} + +{{- end -}} + +{{- return $content -}} -- cgit v1.2.3