From 7befbf2f991e217aa4d52615f9f430cae30897f5 Mon Sep 17 00:00:00 2001
From: Alan Pearce
Date: Fri, 10 Jan 2020 19:55:06 +0100
Subject: Squashed 'themes/xmin/' content from commit 982dfb3
git-subtree-dir: themes/xmin
git-subtree-split: 982dfb320e8ac58a78203be76c5b06beae25d4f9
---
layouts/_default/list.html | 20 ++++++++++++++++++++
layouts/_default/single.html | 12 ++++++++++++
layouts/_default/terms.html | 13 +++++++++++++
3 files changed, 45 insertions(+)
create mode 100644 layouts/_default/list.html
create mode 100644 layouts/_default/single.html
create mode 100644 layouts/_default/terms.html
(limited to 'layouts/_default')
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
new file mode 100644
index 0000000..06b290a
--- /dev/null
+++ b/layouts/_default/list.html
@@ -0,0 +1,20 @@
+{{ partial "header.html" . }}
+
+{{if not .IsHome }}
+
{{ .Title | markdownify }}
+{{ end }}
+
+{{ .Content }}
+
+
+ {{ $pages := .Pages }}
+ {{ if .IsHome }}{{ $pages = .Site.RegularPages }}{{ end }}
+ {{ range (where $pages "Section" "!=" "") }}
+ -
+ {{ .Date.Format "2006/01/02" }}
+ {{ .Title | markdownify }}
+
+ {{ end }}
+
+
+{{ partial "footer.html" . }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..de3f121
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,12 @@
+{{ partial "header.html" . }}
+
+
{{ .Title | markdownify }}
+{{ with .Params.author }}{{ . }}
{{ end }}
+{{ if (gt .Params.date 0) }}{{ .Date.Format "2006/01/02" }}
{{ end }}
+
+
+
+{{ .Content }}
+
+
+{{ partial "footer.html" . }}
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html
new file mode 100644
index 0000000..71f47e7
--- /dev/null
+++ b/layouts/_default/terms.html
@@ -0,0 +1,13 @@
+{{ partial "header.html" . }}
+
+{{ .Title }}
+
+
+
+{{ partial "footer.html" . }}
--
cgit 1.4.1