From 9872428a3f61439e9901d0d8fb2be0654e5e0536 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Mon, 11 Jan 2021 20:53:49 +0000 Subject: [PATCH] feat(shortcode): show summaries by default in `list_children` --- wowchemy/layouts/shortcodes/list_children.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wowchemy/layouts/shortcodes/list_children.html b/wowchemy/layouts/shortcodes/list_children.html index de3e6eef..1cc8f9a6 100644 --- a/wowchemy/layouts/shortcodes/list_children.html +++ b/wowchemy/layouts/shortcodes/list_children.html @@ -1,7 +1,11 @@ +{{ $show_summary := ne (.Get "show_summary") "false" }} {{ if gt (len $.Page.Pages) 0}} {{end}}