lyceum-site/themes/hugo-book/layouts/shortcodes/section.html
2024-10-04 00:08:11 +02:00

12 lines
254 B
HTML

<dl>
{{ range .Page.Pages }}
<dt>
<a href="{{ .RelPermalink }}">{{ partial "docs/title" . }}</a>
</dt>
{{ if (in $.Params "summary") -}}
<dd class="markdown-inner">
{{ default .Summary .Description }}
</dd>
{{ end -}}
{{ end }}
</dl>