From 2cffa2d8bc88f3e3ef449a6400c2aac6993ef520 Mon Sep 17 00:00:00 2001 From: mirenn Date: Sat, 1 Nov 2025 18:08:02 +0000 Subject: Initial commit --- layouts/_partials/footer.html | 1 + layouts/_partials/head.html | 5 +++++ layouts/_partials/header.html | 3 +++ layouts/baseof.html | 19 +++++++++++++++++++ layouts/home.html | 6 ++++++ layouts/til/page.html | 9 +++++++++ layouts/til/section.html | 13 +++++++++++++ 7 files changed, 56 insertions(+) create mode 100644 layouts/_partials/footer.html create mode 100644 layouts/_partials/head.html create mode 100644 layouts/_partials/header.html create mode 100644 layouts/baseof.html create mode 100644 layouts/home.html create mode 100644 layouts/til/page.html create mode 100644 layouts/til/section.html (limited to 'layouts') diff --git a/layouts/_partials/footer.html b/layouts/_partials/footer.html new file mode 100644 index 0000000..edec370 --- /dev/null +++ b/layouts/_partials/footer.html @@ -0,0 +1 @@ +

© {{ now.Format "2006" }} mirenn - Source (AGPLv3)

diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html new file mode 100644 index 0000000..5c09651 --- /dev/null +++ b/layouts/_partials/head.html @@ -0,0 +1,5 @@ + + + +{{ .Title }} + diff --git a/layouts/_partials/header.html b/layouts/_partials/header.html new file mode 100644 index 0000000..f9d2efa --- /dev/null +++ b/layouts/_partials/header.html @@ -0,0 +1,3 @@ + diff --git a/layouts/baseof.html b/layouts/baseof.html new file mode 100644 index 0000000..48c3d32 --- /dev/null +++ b/layouts/baseof.html @@ -0,0 +1,19 @@ + + + + {{ partial "head.html" . }} + + +
+ {{ partial "header.html" . }} +
+ +
+ {{ block "main" . }}{{ end }} +
+ + + + diff --git a/layouts/home.html b/layouts/home.html new file mode 100644 index 0000000..46dc417 --- /dev/null +++ b/layouts/home.html @@ -0,0 +1,6 @@ +{{ define "main" }} +

{{ .Title }}

+
+ {{ .Content }} +
+{{ end }} diff --git a/layouts/til/page.html b/layouts/til/page.html new file mode 100644 index 0000000..baf1fbd --- /dev/null +++ b/layouts/til/page.html @@ -0,0 +1,9 @@ +{{ define "main" }} +
+

{{ .Title }}

+ +
+ {{ .Content }} +
+
+{{ end }} diff --git a/layouts/til/section.html b/layouts/til/section.html new file mode 100644 index 0000000..bd8c690 --- /dev/null +++ b/layouts/til/section.html @@ -0,0 +1,13 @@ +{{ define "main" }} +
+

{{ .Title }}

+ {{ .Content }} + +
+{{ end }} -- cgit v1.2.3