From 8f392fb0a8af3d6caa28170202d3924cd2fdfc3c Mon Sep 17 00:00:00 2001 From: Tim Wundenberg Date: Thu, 8 May 2025 13:11:56 +0200 Subject: [PATCH] feat(layout): remove unnecessary divs --- template/layout.templ | 44 ++++++++++++++++++++----------------------- 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/template/layout.templ b/template/layout.templ index 57fc6c1..9f7cbfe 100644 --- a/template/layout.templ +++ b/template/layout.templ @@ -29,31 +29,27 @@ templ Layout(slot templ.Component, user templ.Component, loggedIn bool, path str // Header -
- -
-
+ +
// Content -
-
- if slot != nil { - @slot - } -
-
+
+ if slot != nil { + @slot + } +
// Footer