From fea0ef77c8c98dfadd2f9d29804653293fd31c99 Mon Sep 17 00:00:00 2001 From: a73x Date: Sun, 25 Aug 2024 15:14:41 +0100 Subject: feat: add templating --- templates/layouts/default.html | 48 ++++++++++++++++++++++++++++++++++++++++++ templates/layouts/header.html | 8 +++++++ 2 files changed, 56 insertions(+) create mode 100644 templates/layouts/default.html create mode 100644 templates/layouts/header.html (limited to 'templates/layouts') diff --git a/templates/layouts/default.html b/templates/layouts/default.html new file mode 100644 index 0000000..cfb0c17 --- /dev/null +++ b/templates/layouts/default.html @@ -0,0 +1,48 @@ +{{define "base"}} + + + + + + + + + a73x + + + + + {{ template "header.html" . }} + {{ template "content" . }} + + + +{{end}} diff --git a/templates/layouts/header.html b/templates/layouts/header.html new file mode 100644 index 0000000..be02def --- /dev/null +++ b/templates/layouts/header.html @@ -0,0 +1,8 @@ + +

a73x

+ -- cgit v1.2.3