lyceum-site/themes/hugo-book/layouts/shortcodes/section.html

13 lines
254 B
HTML
Raw Normal View History

2024-10-03 22:08:11 +00:00
<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>