From 60f34937b75a26c413e5e37cab2066b70239a9f6 Mon Sep 17 00:00:00 2001 From: "martin@ashbysoft.com" Date: Fri, 17 Sep 2021 22:01:14 +0000 Subject: move old site content into hugo --- themes/XMin/layouts/_default/list.html | 20 ++++++++++++++++++++ themes/XMin/layouts/_default/single.html | 12 ++++++++++++ themes/XMin/layouts/_default/terms.html | 13 +++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 themes/XMin/layouts/_default/list.html create mode 100644 themes/XMin/layouts/_default/single.html create mode 100644 themes/XMin/layouts/_default/terms.html (limited to 'themes/XMin/layouts/_default') diff --git a/themes/XMin/layouts/_default/list.html b/themes/XMin/layouts/_default/list.html new file mode 100644 index 0000000..06b290a --- /dev/null +++ b/themes/XMin/layouts/_default/list.html @@ -0,0 +1,20 @@ +{{ partial "header.html" . }} + +{{if not .IsHome }} +

{{ .Title | markdownify }}

+{{ end }} + +{{ .Content }} + + + +{{ partial "footer.html" . }} diff --git a/themes/XMin/layouts/_default/single.html b/themes/XMin/layouts/_default/single.html new file mode 100644 index 0000000..de3f121 --- /dev/null +++ b/themes/XMin/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/themes/XMin/layouts/_default/terms.html b/themes/XMin/layouts/_default/terms.html new file mode 100644 index 0000000..71f47e7 --- /dev/null +++ b/themes/XMin/layouts/_default/terms.html @@ -0,0 +1,13 @@ +{{ partial "header.html" . }} + +

{{ .Title }}

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