From 512d76a3807fdb5676d3cedd99578141c393e122 Mon Sep 17 00:00:00 2001 From: LandaMm Date: Sun, 18 May 2025 14:06:02 +0200 Subject: [PATCH] feat: layout html --- templates/layout/base.html | 19 +++++++++++++++++++ templates/layout/footer.html | 4 ++++ 2 files changed, 23 insertions(+) create mode 100644 templates/layout/base.html create mode 100644 templates/layout/footer.html diff --git a/templates/layout/base.html b/templates/layout/base.html new file mode 100644 index 0000000..1ecd403 --- /dev/null +++ b/templates/layout/base.html @@ -0,0 +1,19 @@ +{{ define "base" }} + + + + + {{ .Title }} + + +
+

{{ .Title }}

+
+
+ {{ block "content" . }}{{ end }} +
+ {{ template "footer" . }} + + +{{ end }} + diff --git a/templates/layout/footer.html b/templates/layout/footer.html new file mode 100644 index 0000000..6487e43 --- /dev/null +++ b/templates/layout/footer.html @@ -0,0 +1,4 @@ +{{ define "footer" }} + +{{ end }} +