From 59e7866775faa65412b8f834b2a0f1486cc05ffa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Bedna=C5=99=C3=ADk?= <jan.bednarik@gmail.com>
Date: Wed, 15 Jun 2022 10:53:26 +0200
Subject: [PATCH] district: Fix homepage template

---
 .../district/district_home_page.html          | 29 +++++++++----------
 1 file changed, 14 insertions(+), 15 deletions(-)

diff --git a/district/templates/district/district_home_page.html b/district/templates/district/district_home_page.html
index 9ff39931..77e93b9e 100644
--- a/district/templates/district/district_home_page.html
+++ b/district/templates/district/district_home_page.html
@@ -18,22 +18,21 @@
       {% endfor %}
     </div>
   {% endif %}
+
   {% if page.articles %}
-      <div class="content-block">
-          <h2 class="clear-both head-alt-md md:head-alt-lg pb-4 lg:pb-8">
-            {{ page.articles_title }}
-          </h2>
-          <!--  list of articles -->
-          <div class="article-card-list grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 lg:gap-8">
-            {% for a in page.articles %}
-              {% include "shared/article_preview.html" with article=a %}
-            {% endfor %}
-          </div>
-
-          <div class="mb-8 lg:mb-16">
-            {% include "shared/more_articles_snippet.html" %}
-          </div>
-      </div>
+    <h2 class="clear-both head-alt-md md:head-alt-lg pb-4 lg:pb-8">
+      {{ page.articles_title }}
+    </h2>
+    <!--  list of articles -->
+    <div class="article-card-list grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 lg:gap-8">
+      {% for a in page.articles %}
+        {% include "shared/article_preview.html" with article=a %}
+      {% endfor %}
+    </div>
+
+    <div class="mb-8 lg:mb-16">
+      {% include "shared/more_articles_snippet.html" %}
+    </div>
   {% endif %}
 
   {% if page.election_countdown_datetime %}
-- 
GitLab