From b5608ab92a4f8a5140571acabf54e3c6bdebd0e4 Mon Sep 17 00:00:00 2001 From: Prefetch Date: Wed, 24 Feb 2021 09:47:22 +0100 Subject: Initial commit --- layouts/know/category.html | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 layouts/know/category.html (limited to 'layouts/know/category.html') diff --git a/layouts/know/category.html b/layouts/know/category.html new file mode 100644 index 0000000..3dc8c7a --- /dev/null +++ b/layouts/know/category.html @@ -0,0 +1,36 @@ + + + +{{ partial "head.html" . }} +{{ .Title }} | {{ .Site.Title }} + + +{{ partial "navigation.html" . }} +

{{ .Title }}

+ +{{ $category := slice .Title }} +{{ $concepts := (.Site.GetPage "/know/concept").RegularPages }} +{{ $relevant := where $concepts "Params.categories" "intersect" $category }} + +
+ - + {{ range $relevant.GroupByParam "firstLetter" }} + {{ .Key }} + - + {{ end }} +
+ +This is an alphabetical list of the concepts in this category. + +{{ range $relevant.GroupByParam "firstLetter" }} +

{{ .Key }}

+ +{{ end }} + +{{ partial "footer.html" . }} + + -- cgit v1.2.3