From: Kai Moritz Date: Wed, 10 Dec 2025 18:51:38 +0000 (+0100) Subject: WIP:layout X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=cf16904f776a1ccb9cd26d8a6c0fd4cdd1171d85;p=website WIP:layout --- diff --git a/layouts/_partials/footer.html b/layouts/_partials/footer.html index a7cd916..08fad68 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 7980a00..78e6631 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 14245b5..f39ae01 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 39dcbec..5e2c577 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" . }} +