From 3d854fe9d4b8ea5a77224f23656851049f5a9fa7 Mon Sep 17 00:00:00 2001
From: Christopher Greaves <28542943+Chris-Greaves@users.noreply.github.com>
Date: Tue, 12 Mar 2019 19:46:31 +0000
Subject: [PATCH] Remove indentation in "children" shortcode
- Fixes a bug where the list items appear in a code block instead of as HTML
---
layouts/shortcodes/children.html | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/layouts/shortcodes/children.html b/layouts/shortcodes/children.html
index bff5a32b77..a5e97640f2 100644
--- a/layouts/shortcodes/children.html
+++ b/layouts/shortcodes/children.html
@@ -45,28 +45,28 @@
{{$num := sub ( int (trim $.style "h") ) 1 }}
{{$numn := add $num $.count }}
- {{(printf "
{{.Description}}
+{{.Description}}
{{else}} -{{.Summary}}
+{{.Summary}}
{{end}} {{end}} {{end}} {{ if lt $.count $.depth}} {{if eq $.style "li"}} -