From aa2528adf2e9e7d1d1e8baed2d6fda511a0502d9 Mon Sep 17 00:00:00 2001 From: forever2k38 Date: Sat, 5 Sep 2026 01:34:40 +0200 Subject: initial commit --- layouts/_default/list.html | 7 +++++++ layouts/_partials/head.html | 14 ++++++++++++++ layouts/baseof.html | 29 +++++++++++++++++++++++++++++ layouts/home.html | 3 +++ layouts/page.html | 6 ++++++ 5 files changed, 59 insertions(+) create mode 100644 layouts/_default/list.html create mode 100644 layouts/_partials/head.html create mode 100644 layouts/baseof.html create mode 100644 layouts/home.html create mode 100644 layouts/page.html (limited to 'layouts') diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..c2e7875 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,7 @@ +{{ define "main" }} +

{{ .Title }}

+ {{ .Content }} + {{ range .Pages }} +

{{ .LinkTitle }}

+ {{ end }} +{{ end }} diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html new file mode 100644 index 0000000..1689fcc --- /dev/null +++ b/layouts/_partials/head.html @@ -0,0 +1,14 @@ +forever2k38 + +{{ $scss := resources.Get "scss/main.scss" }} +{{ $css := $scss | toCSS (dict "transpiler" "dartsass") | minify | fingerprint }} + + +{{ $favicon := resources.Get "img/favicon.png" }} + diff --git a/layouts/baseof.html b/layouts/baseof.html new file mode 100644 index 0000000..291be14 --- /dev/null +++ b/layouts/baseof.html @@ -0,0 +1,29 @@ + + + + {{ partial "head.html" . }} + + +
+

forever2k38

+ + +
+ + +
+
+ {{ block "main" . }} + {{ end }} +
+
+ + + + diff --git a/layouts/home.html b/layouts/home.html new file mode 100644 index 0000000..e0e8308 --- /dev/null +++ b/layouts/home.html @@ -0,0 +1,3 @@ +{{ define "main" }} + {{ .Content }} +{{ end }} diff --git a/layouts/page.html b/layouts/page.html new file mode 100644 index 0000000..79b5a0e --- /dev/null +++ b/layouts/page.html @@ -0,0 +1,6 @@ +{{ define "main" }} +
+

{{ .Title }}

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