From b5608ab92a4f8a5140571acabf54e3c6bdebd0e4 Mon Sep 17 00:00:00 2001
From: Prefetch
Date: Wed, 24 Feb 2021 09:47:22 +0100
Subject: Initial commit
---
layouts/_default/single.html | 12 ++++++++++++
layouts/blog/list.html | 25 +++++++++++++++++++++++++
layouts/blog/single.html | 14 ++++++++++++++
layouts/home.html | 13 +++++++++++++
layouts/know/category.html | 36 ++++++++++++++++++++++++++++++++++++
layouts/know/know-list.html | 32 ++++++++++++++++++++++++++++++++
layouts/know/know.html | 12 ++++++++++++
layouts/know/single.html | 13 +++++++++++++
layouts/partials/footer.html | 7 +++++++
layouts/partials/head.html | 3 +++
layouts/partials/mathjax.html | 1 +
layouts/partials/navigation.html | 9 +++++++++
12 files changed, 177 insertions(+)
create mode 100644 layouts/_default/single.html
create mode 100644 layouts/blog/list.html
create mode 100644 layouts/blog/single.html
create mode 100644 layouts/home.html
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
create mode 100644 layouts/partials/footer.html
create mode 100644 layouts/partials/head.html
create mode 100644 layouts/partials/mathjax.html
create mode 100644 layouts/partials/navigation.html
(limited to 'layouts')
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..b1910dc
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,12 @@
+
+
+
+{{ partial "head.html" . }}
+{{ .Title }} | {{ .Site.Title }}
+
+
+{{ partial "navigation.html" . }}
+{{ .Content }}
+{{ partial "footer.html" . }}
+
+
diff --git a/layouts/blog/list.html b/layouts/blog/list.html
new file mode 100644
index 0000000..1bc9c3e
--- /dev/null
+++ b/layouts/blog/list.html
@@ -0,0 +1,25 @@
+
+
+
+{{ partial "head.html" . }}
+{{ .Title }} | {{ .Site.Title }}
+
+
+{{ partial "navigation.html" . }}
+{{ .Title }}
+{{ .Content }}
+
+{{ range .RegularPagesRecursive.GroupByPublishDate "2006" }}
+
+{{ .Key }}:
+
+ {{ range .Pages.ByPublishDate }}
+ - {{ .Title }}
+ {{ end }}
+
+
+{{ end }}
+
+{{ partial "footer.html" . }}
+
+
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
new file mode 100644
index 0000000..cc0a4fd
--- /dev/null
+++ b/layouts/blog/single.html
@@ -0,0 +1,14 @@
+
+
+
+{{ partial "head.html" . }}
+{{ .Title }} | {{ .Site.Title }}
+
+
+{{ partial "navigation.html" . }}
+{{ .Title }}
+{{ .TableOfContents }}
+{{ .Content }}
+{{ partial "footer.html" . }}
+
+
diff --git a/layouts/home.html b/layouts/home.html
new file mode 100644
index 0000000..58fce38
--- /dev/null
+++ b/layouts/home.html
@@ -0,0 +1,13 @@
+
+
+
+{{ partial "head.html" . }}
+{{ .Site.Title }}
+
+
+{{ partial "navigation.html" . }}
+
+{{ .Content }}
+{{ partial "footer.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" . }}
+
+
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" . }}
+
+
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
new file mode 100644
index 0000000..8ac5a50
--- /dev/null
+++ b/layouts/partials/footer.html
@@ -0,0 +1,7 @@
+
+
+
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
new file mode 100644
index 0000000..ad10ab7
--- /dev/null
+++ b/layouts/partials/head.html
@@ -0,0 +1,3 @@
+
+
+
diff --git a/layouts/partials/mathjax.html b/layouts/partials/mathjax.html
new file mode 100644
index 0000000..f7bf6e5
--- /dev/null
+++ b/layouts/partials/mathjax.html
@@ -0,0 +1 @@
+
diff --git a/layouts/partials/navigation.html b/layouts/partials/navigation.html
new file mode 100644
index 0000000..a5c835c
--- /dev/null
+++ b/layouts/partials/navigation.html
@@ -0,0 +1,9 @@
+
+
--
cgit v1.2.3