blob: a672ea1adc138e6ce277c0ac9a7a24f70a0fea71 (
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
37
38
|
<!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>
<p>
This is an alphabetical list of the concepts in this category.
</p>
{{ 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>
|