blob: 3dc8c7aadc884e5678ce543a8ea5c1311c732c13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<!DOCTYPE html>
<html>
<head>
{{ partial "head.html" . }}
<title>{{ .Title }} | {{ .Site.Title }}</title>
</head>
<body>
{{ partial "navigation.html" . }}
<h1>{{ .Title }}</h1>
{{ $category := slice .Title }}
{{ $concepts := (.Site.GetPage "/know/concept").RegularPages }}
{{ $relevant := where $concepts "Params.categories" "intersect" $category }}
<div style="text-align:center;">
-
{{ range $relevant.GroupByParam "firstLetter" }}
<a href="#{{ .Key }}">{{ .Key }}</a>
-
{{ end }}
</div>
This is an alphabetical list of the concepts in this category.
{{ range $relevant.GroupByParam "firstLetter" }}
<h2 id="{{ .Key }}">{{ .Key }}</h2>
<ul>
{{ range .Pages.ByTitle }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
{{ end }}
{{ partial "footer.html" . }}
</body>
</html>
|