mirror of https://github.com/crossplane/docs.git
Include index frontmatter description on landing pages
Signed-off-by: Nic Cope <nicc@rk0n.org>
This commit is contained in:
parent
789826fc13
commit
2f68349f93
|
|
@ -4,6 +4,9 @@ Usage: {{ partial "auto-index" . }}
|
||||||
*/}}
|
*/}}
|
||||||
{{ if .RegularPages }}
|
{{ if .RegularPages }}
|
||||||
<div class="auto-index">
|
<div class="auto-index">
|
||||||
|
{{ if .Params.description }}
|
||||||
|
<p>{{ .Params.description }}</p>
|
||||||
|
{{ end }}
|
||||||
<p>Topics in this section:</p>
|
<p>Topics in this section:</p>
|
||||||
<ul>
|
<ul>
|
||||||
{{ range .RegularPages.ByWeight }}
|
{{ range .RegularPages.ByWeight }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue