From: Kai Moritz Date: Wed, 10 Dec 2025 18:51:38 +0000 (+0100) Subject: WIP:layout X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=305fa14ec0d32e3f97608b2ce9bcc258c1f2dd48;p=website WIP:layout --- diff --git a/layouts/_partials/footer.html b/layouts/_partials/footer.html index a7cd916d..08fad685 100644 --- a/layouts/_partials/footer.html +++ b/layouts/_partials/footer.html @@ -1 +1,8 @@ -

Copyright {{ now.Year }}. All rights reserved.

+ diff --git a/layouts/_partials/header.html b/layouts/_partials/header.html index 7980a00e..78e6631a 100644 --- a/layouts/_partials/header.html +++ b/layouts/_partials/header.html @@ -1,2 +1,5 @@ -

{{ site.Title }}

-{{ partial "menu.html" (dict "menuID" "main" "page" .) }} + diff --git a/layouts/_partials/menu.html b/layouts/_partials/menu.html index 14245b55..f39ae01d 100644 --- a/layouts/_partials/menu.html +++ b/layouts/_partials/menu.html @@ -1,3 +1,89 @@ + {{- /* Renders a menu for the given menu ID. diff --git a/layouts/baseof.html b/layouts/baseof.html index 39dcbec6..5e2c5777 100644 --- a/layouts/baseof.html +++ b/layouts/baseof.html @@ -3,15 +3,21 @@ {{ partial "head.html" . }} - -
- {{ partial "header.html" . }} -
-
- {{ block "main" . }}{{ end }} -
- + +
+ {{- partial "header.html" . }} + {{- partial "breadcrumb.html" . }} +
+
+

{{ site.Title }}

+ {{- block "main" . }}{{ end }} +
+
+ {{- partial "menu.html" (dict "menuID" "main" "page" .) }} + {{- partial "marginalcontent.html" . }} +
+
+ {{- partial "footer.html" . }} +