From 82eaa05897f136b211c8d420e24d6b3b60abad6a Mon Sep 17 00:00:00 2001 From: John Date: Sun, 9 Mar 2025 11:37:27 -0500 Subject: [PATCH] layouts --- layouts/baseof.html | 10 ++++++++++ layouts/list.html | 4 ++++ 2 files changed, 14 insertions(+) create mode 100644 layouts/baseof.html create mode 100644 layouts/list.html diff --git a/layouts/baseof.html b/layouts/baseof.html new file mode 100644 index 0000000..51c7504 --- /dev/null +++ b/layouts/baseof.html @@ -0,0 +1,10 @@ + + + + + {{ .Title }} + + + {{ block "main" . }}{{ end }} + + \ No newline at end of file diff --git a/layouts/list.html b/layouts/list.html new file mode 100644 index 0000000..b8b075f --- /dev/null +++ b/layouts/list.html @@ -0,0 +1,4 @@ +{{ define "main" }} +

{{ .Title }}

+ {{ .Content }} +{{ end }} \ No newline at end of file