2021-07-06 21:32:34 +00:00
|
|
|
{{- define "content" -}}
|
|
|
|
|
|
|
|
<h1>{{ .Name }}</h1>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
{{- range $name, $value := sort .Data.Pages "Title" -}}
|
2022-02-08 22:29:18 +00:00
|
|
|
{{ if not .Draft }}
|
|
|
|
<li style="margin-bottom: 15px;">
|
|
|
|
<a href="{{ $value.RelPermalink }}">{{ $value.Title }}</a>
|
|
|
|
<br />
|
|
|
|
<small>
|
|
|
|
{{- range $index, $page := $value.Pages -}}
|
|
|
|
{{ if $index }},{{ end }}
|
|
|
|
<a href="{{ $page.RelPermalink }}">{{ $page.Title }}</a>
|
|
|
|
{{- end -}}
|
|
|
|
</small>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
2021-07-06 21:32:34 +00:00
|
|
|
{{- end -}}
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
{{- end -}}
|