blob: a7c53f3b6ad57c09a9b70b904ae779844b4f431c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<div class="chapters d-none">
<h2 class='mt-3'>
{{ $thisSection := .Site.GetPage "section" .Section }}
{{ with $thisSection }}
{{ .Title | markdownify }}
{{ end }}
</h2>
<ul class="list-unstyled ml-3 mb-0 mt-0">
{{ $mypages := intersect (where .Site.Pages "Section" .Section) (where .Site.Pages "Kind" "page") }}
{{ range $mypages }}
<li>
<a href="{{ .Permalink }}"
><h4>{{ .Title | markdownify}}</h4></a
>
</li>
{{ end }}
</ul>
</div>
|