From db6cb54326c80f805c50e0710acba3818270ae2d Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 5 Jan 2022 20:28:20 +0000 Subject: got absolute minima running --- themes/problematic/layouts/404.html | 0 themes/problematic/layouts/_default/baseof.html | 11 +++++++++++ themes/problematic/layouts/_default/list.html | 6 ++++++ themes/problematic/layouts/_default/single.html | 4 ++++ themes/problematic/layouts/index.html | 22 ++++++++++++++++++++++ themes/problematic/layouts/partials/footer.html | 0 themes/problematic/layouts/partials/head.html | 0 themes/problematic/layouts/partials/header.html | 0 8 files changed, 43 insertions(+) create mode 100644 themes/problematic/layouts/404.html create mode 100644 themes/problematic/layouts/_default/baseof.html create mode 100644 themes/problematic/layouts/_default/list.html create mode 100644 themes/problematic/layouts/_default/single.html create mode 100644 themes/problematic/layouts/index.html create mode 100644 themes/problematic/layouts/partials/footer.html create mode 100644 themes/problematic/layouts/partials/head.html create mode 100644 themes/problematic/layouts/partials/header.html (limited to 'themes/problematic/layouts') diff --git a/themes/problematic/layouts/404.html b/themes/problematic/layouts/404.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/problematic/layouts/_default/baseof.html b/themes/problematic/layouts/_default/baseof.html new file mode 100644 index 0000000..5f8e2ec --- /dev/null +++ b/themes/problematic/layouts/_default/baseof.html @@ -0,0 +1,11 @@ + + + {{- partial "head.html" . -}} + + {{- partial "header.html" . -}} +
+ {{- block "main" . }}{{- end }} +
+ {{- partial "footer.html" . -}} + + diff --git a/themes/problematic/layouts/_default/list.html b/themes/problematic/layouts/_default/list.html new file mode 100644 index 0000000..3ebdde1 --- /dev/null +++ b/themes/problematic/layouts/_default/list.html @@ -0,0 +1,6 @@ +{{ define "main" }} +

{{ .Title }}

+{{ range .Pages.ByPublishDate.Reverse }} +

{{ .Title }}

+{{ end }} +{{ end }} diff --git a/themes/problematic/layouts/_default/single.html b/themes/problematic/layouts/_default/single.html new file mode 100644 index 0000000..17b274b --- /dev/null +++ b/themes/problematic/layouts/_default/single.html @@ -0,0 +1,4 @@ +{{ define "main" }} +

{{ .Title }}

+{{ .Content }} +{{ end }} diff --git a/themes/problematic/layouts/index.html b/themes/problematic/layouts/index.html new file mode 100644 index 0000000..de7fa73 --- /dev/null +++ b/themes/problematic/layouts/index.html @@ -0,0 +1,22 @@ + +{{ define "main" }} +
+
+

{{.Title}}

+ {{ with .Params.subtitle }} + {{.}} + {{ end }} +
+
+ + {{.Content}} +
+
+ {{ range first 10 .Site.RegularPages }} + {{ .Render "summary"}} + {{ end }} +
+
+{{ end }} + + diff --git a/themes/problematic/layouts/partials/footer.html b/themes/problematic/layouts/partials/footer.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/problematic/layouts/partials/head.html b/themes/problematic/layouts/partials/head.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/problematic/layouts/partials/header.html b/themes/problematic/layouts/partials/header.html new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3