hugo-book-theme/layouts/shortcodes/section.html

13 lines
254 B
HTML
Raw Permalink Normal View History

<dl>
{{ range .Page.Pages }}
<dt>
<a href="{{ .RelPermalink }}">{{ partial "docs/title" . }}</a>
</dt>
{{ if (in $.Params "summary") -}}
2021-05-03 22:59:33 +02:00
<dd class="markdown-inner">
{{ default .Summary .Description }}
</dd>
{{ end -}}
{{ end }}
</dl>