summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/shortcodes/section.html10
1 files changed, 10 insertions, 0 deletions
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 @@
+<dl>
+{{ range .Page.Pages }}
+ <dt>
+ <a href="{{ .RelPermalink }}">{{ partial "docs/title" . }}</a>
+ </dt>
+ <dd>
+ {{ default .Summary .Description }}
+ </dd>
+{{ end }}
+</dl>