From d29af7ee395555e628ee0f3def31c748394cc93b Mon Sep 17 00:00:00 2001 From: ericmarin Date: Mon, 20 Apr 2026 14:06:38 +0200 Subject: hugo! --- 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..ea78525 --- /dev/null +++ b/layouts/_partials/footer.html @@ -0,0 +1 @@ +

© {{ now.Format "2006" }} Eric Marin - 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..28d4b0a --- /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