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 ++++++++++++++++++++++++++++++++++++ layouts/know/know-list.html | 32 ++++++++++++++++++++++++++++++++ layouts/know/know.html | 12 ++++++++++++ layouts/know/single.html | 13 +++++++++++++ 4 files changed, 93 insertions(+) create mode 100644 layouts/know/category.html create mode 100644 layouts/know/know-list.html create mode 100644 layouts/know/know.html create mode 100644 layouts/know/single.html (limited to 'layouts/know') 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" . }} + + diff --git a/layouts/know/know-list.html b/layouts/know/know-list.html new file mode 100644 index 0000000..b1a8c33 --- /dev/null +++ b/layouts/know/know-list.html @@ -0,0 +1,32 @@ + + + +{{ partial "head.html" . }} +{{ .Title }} | {{ .Site.Title }} + + +{{ partial "navigation.html" . }} +

{{ .Title }}

+ +
+ - + {{ range .RegularPages.GroupByParam "firstLetter" }} + {{ .Key }} + - + {{ end }} +
+ +{{ .Content }} + +{{ range .RegularPages.GroupByParam "firstLetter" }} +

{{ .Key }}

+ +{{ end }} + +{{ partial "footer.html" . }} + + diff --git a/layouts/know/know.html b/layouts/know/know.html new file mode 100644 index 0000000..b1910dc --- /dev/null +++ b/layouts/know/know.html @@ -0,0 +1,12 @@ + + + +{{ partial "head.html" . }} +{{ .Title }} | {{ .Site.Title }} + + +{{ partial "navigation.html" . }} +{{ .Content }} +{{ partial "footer.html" . }} + + diff --git a/layouts/know/single.html b/layouts/know/single.html new file mode 100644 index 0000000..d14a83c --- /dev/null +++ b/layouts/know/single.html @@ -0,0 +1,13 @@ + + + +{{ partial "head.html" . }} +{{ partial "mathjax.html" . }} +{{ .Title }} | {{ .Site.Title }} + + +{{ partial "navigation.html" . }} +{{ .Content }} +{{ partial "footer.html" . }} + + -- cgit v1.2.3