From ea61fd759b6a783759ae7fcb5ef05762c5d644b7 Mon Sep 17 00:00:00 2001 From: danix Date: Mon, 6 Feb 2023 11:07:27 +0100 Subject: [PATCH] added single layout because articles need it. Might consider moving it to articles. Must investigate. --- layouts/post/single-baseof.html | 18 ++++++++++++++++++ layouts/post/single.html | 7 +++++++ 2 files changed, 25 insertions(+) create mode 100644 layouts/post/single-baseof.html create mode 100644 layouts/post/single.html diff --git a/layouts/post/single-baseof.html b/layouts/post/single-baseof.html new file mode 100644 index 0000000..c4b423d --- /dev/null +++ b/layouts/post/single-baseof.html @@ -0,0 +1,18 @@ + + + {{- partial "head.html" . -}} + +
+ + {{- partial "header.html" . -}} +
+
+
+ {{- block "page-main" . }}{{- end }} +
+
+
+ {{- partial "footer.html" . -}} +
+ + diff --git a/layouts/post/single.html b/layouts/post/single.html new file mode 100644 index 0000000..e475272 --- /dev/null +++ b/layouts/post/single.html @@ -0,0 +1,7 @@ +{{ define "page-main" }} +
+
+ {{ .Content }} +
+
+{{ end }} -- 2.20.1