From: danix Date: Mon, 6 Feb 2023 10:07:27 +0000 (+0100) Subject: added single layout because articles need it. Might consider moving it to articles... X-Git-Url: https://git.danix.xyz/?a=commitdiff_plain;h=ea61fd759b6a783759ae7fcb5ef05762c5d644b7;p=theme-danix.xyz.git added single layout because articles need it. Might consider moving it to articles. Must investigate. --- 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 }}