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/404.html | 5 +++++ themes/XMin/layouts/_default/list.html | 20 ++++++++++++++++++++ themes/XMin/layouts/_default/single.html | 12 ++++++++++++ themes/XMin/layouts/_default/terms.html | 13 +++++++++++++ themes/XMin/layouts/partials/foot_custom.html | 0 themes/XMin/layouts/partials/footer.html | 9 +++++++++ themes/XMin/layouts/partials/head_custom.html | 0 themes/XMin/layouts/partials/header.html | 20 ++++++++++++++++++++ 8 files changed, 79 insertions(+) create mode 100644 themes/XMin/layouts/404.html 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 create mode 100644 themes/XMin/layouts/partials/foot_custom.html create mode 100644 themes/XMin/layouts/partials/footer.html create mode 100644 themes/XMin/layouts/partials/head_custom.html create mode 100644 themes/XMin/layouts/partials/header.html (limited to 'themes/XMin/layouts') diff --git a/themes/XMin/layouts/404.html b/themes/XMin/layouts/404.html new file mode 100644 index 0000000..c2e4e40 --- /dev/null +++ b/themes/XMin/layouts/404.html @@ -0,0 +1,5 @@ +{{ partial "header.html" . }} + +404 NOT FOUND + +{{ partial "footer.html" . }} 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" . }} diff --git a/themes/XMin/layouts/partials/foot_custom.html b/themes/XMin/layouts/partials/foot_custom.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/XMin/layouts/partials/footer.html b/themes/XMin/layouts/partials/footer.html new file mode 100644 index 0000000..3f46ea5 --- /dev/null +++ b/themes/XMin/layouts/partials/footer.html @@ -0,0 +1,9 @@ + + + diff --git a/themes/XMin/layouts/partials/head_custom.html b/themes/XMin/layouts/partials/head_custom.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/XMin/layouts/partials/header.html b/themes/XMin/layouts/partials/header.html new file mode 100644 index 0000000..4f431eb --- /dev/null +++ b/themes/XMin/layouts/partials/header.html @@ -0,0 +1,20 @@ + + + + + + {{ .Title }} | {{ .Site.Title }} + + + {{ partial "head_custom.html" . }} + + + + -- cgit v1.2.3-ZIG