From b8b7184e8934ed937a8d8771a007e2ffff0646b9 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Sun, 31 May 2020 00:18:25 +0200 Subject: Add section shortcode, to render children --- layouts/shortcodes/section.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 layouts/shortcodes/section.html (limited to 'layouts') diff --git a/layouts/shortcodes/section.html b/layouts/shortcodes/section.html new file mode 100644 index 0000000..21d2e75 --- /dev/null +++ b/layouts/shortcodes/section.html @@ -0,0 +1,10 @@ +
+{{ range .Page.Pages }} +
+ {{ partial "docs/title" . }} +
+
+ {{ default .Summary .Description }} +
+{{ end }} +
-- cgit v1.2.3