Add section shortcode, to render children

This commit is contained in:
Alex Shpak
2020-05-31 00:18:25 +02:00
parent aa7c486e76
commit b8b7184e89
7 changed files with 31 additions and 3 deletions
+10
View File
@@ -0,0 +1,10 @@
<dl>
{{ range .Page.Pages }}
<dt>
<a href="{{ .RelPermalink }}">{{ partial "docs/title" . }}</a>
</dt>
<dd>
{{ default .Summary .Description }}
</dd>
{{ end }}
</dl>