From 2154042b12c3a57b700b00fd476968fa3f0a269d Mon Sep 17 00:00:00 2001 From: Andrew Wong Date: Thu, 15 Oct 2020 18:11:07 +1100 Subject: [PATCH] Monkey-patch fix for fragments inside sections for Hugo 0.60.0+ * Workaround for https://github.com/dzello/reveal-hugo/issues/93 * Workaround for https://github.com/dzello/reveal-hugo/issues/77 --- layouts/shortcodes/fragment.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/layouts/shortcodes/fragment.html b/layouts/shortcodes/fragment.html index bcd5627..ecdebfb 100644 --- a/layouts/shortcodes/fragment.html +++ b/layouts/shortcodes/fragment.html @@ -1,6 +1,4 @@ {{/* Render .Inner before processing the shortcode. */}} {{ $_hugo_config := `{ "version": 1 }` }} - - {{ .Inner }} - \ No newline at end of file +{{ .Inner }} +