From a151d9579b17a4bfca079a8774cfbc0615701e6c Mon Sep 17 00:00:00 2001 From: Sylvia Dieckmann Date: Wed, 15 Jun 2022 10:11:05 +0200 Subject: [PATCH] Create rawhtml.html This allows to inject raw html into any content file. For example, my client uses an appointment booking service which requires a generated html snippet to be inserted into the content page. ``` {{< rawhtml >}}
{{< /rawhtml >}} ``` --- layouts/shortcodes/rawhtml.html | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 layouts/shortcodes/rawhtml.html diff --git a/layouts/shortcodes/rawhtml.html b/layouts/shortcodes/rawhtml.html new file mode 100644 index 0000000..b90bea2 --- /dev/null +++ b/layouts/shortcodes/rawhtml.html @@ -0,0 +1,2 @@ + +{{.Inner}}