From ab85eb9dc721678390367e7819546836350718b0 Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Sat, 16 Nov 2024 15:33:45 +0100 Subject: [PATCH] Offload banner generation into dedicated partial Signed-off-by: Christian Wolf --- .../layouts/partials/page/banner-images.html | 15 +++++++++++++++ themes/tsc_vfl/layouts/partials/page/header.html | 16 +--------------- 2 files changed, 16 insertions(+), 15 deletions(-) create mode 100644 themes/tsc_vfl/layouts/partials/page/banner-images.html diff --git a/themes/tsc_vfl/layouts/partials/page/banner-images.html b/themes/tsc_vfl/layouts/partials/page/banner-images.html new file mode 100644 index 0000000..fc94137 --- /dev/null +++ b/themes/tsc_vfl/layouts/partials/page/banner-images.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+
+
diff --git a/themes/tsc_vfl/layouts/partials/page/header.html b/themes/tsc_vfl/layouts/partials/page/header.html index 7958084..c83dd94 100644 --- a/themes/tsc_vfl/layouts/partials/page/header.html +++ b/themes/tsc_vfl/layouts/partials/page/header.html @@ -8,21 +8,7 @@
- - - - - - - -
-
-
-
-
-
-
-
+ {{ partial "page/banner-images.html" . }}