From dc2386d0847fad4aa1ba86a1d6a0b9c749154036 Mon Sep 17 00:00:00 2001 From: Kostas Chatzikokolakis Date: Fri, 10 Jan 2020 21:43:40 +0200 Subject: [PATCH] render section content before applying the shortcode --- layouts/shortcodes/section.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layouts/shortcodes/section.html b/layouts/shortcodes/section.html index 0ed8b1a..7a2c9d0 100644 --- a/layouts/shortcodes/section.html +++ b/layouts/shortcodes/section.html @@ -1,3 +1,5 @@ +{{/* Render .Inner before processing the shortcode. */}} +{{ $_hugo_config := `{ "version": 1 }` }}
-{{ .Inner | markdownify }} +{{ .Inner }}
\ No newline at end of file