Skip to content

Commit 2f68349

Browse files
committed
Include index frontmatter description on landing pages
Signed-off-by: Nic Cope <nicc@rk0n.org>
1 parent 789826f commit 2f68349

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

themes/geekboot/layouts/partials/auto-index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
*/}}
55
{{ if .RegularPages }}
66
<div class="auto-index">
7+
{{ if .Params.description }}
8+
<p>{{ .Params.description }}</p>
9+
{{ end }}
710
<p>Topics in this section:</p>
811
<ul>
912
{{ range .RegularPages.ByWeight }}

0 commit comments

Comments
 (0)