From 409f571955be4cb8b5b52703f0c1ad885b3a3195 Mon Sep 17 00:00:00 2001 From: Lorenzo Yario Date: Sun, 14 Jul 2024 04:21:21 -0700 Subject: [PATCH] switch to columns of two. Make it optional for a video and other things. --- templates/themes/index/index.html | 35 ++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/templates/themes/index/index.html b/templates/themes/index/index.html index 953e7bf4..2d037ccc 100644 --- a/templates/themes/index/index.html +++ b/templates/themes/index/index.html @@ -23,7 +23,7 @@
Boards -

-
-
-
{{ settings.description }}
-
- -
-
{{ settings.quoteofnow }}
-
- -
-
+ {% if settings.description or settings.imageofnow or settings.quoteofnow or settings.videoofnow %} +
+
+ {% if settings.description %} +
{{ settings.description }}
+
+ {% endif %} + {% if settings.imageofnow %} + +
+ {% endif %} + {% if settings.quoteofnow %} +
{{ settings.quoteofnow }}
+
+ {% endif %} + {% if settings.videoofnow %} + +
+ {% endif %} +
+ {% endif %} +
{% if news|length == 0 %}

(No news to show.)