Skip to content
Snippets Groups Projects
Commit 59e78667 authored by jan.bednarik's avatar jan.bednarik
Browse files

district: Fix homepage template

parent 7d82314d
Branches
No related tags found
2 merge requests!556district: Fix homepage template,!555district: Fix homepage template
Pipeline #8544 passed
...@@ -18,22 +18,21 @@ ...@@ -18,22 +18,21 @@
{% endfor %} {% endfor %}
</div> </div>
{% endif %} {% endif %}
{% if page.articles %} {% if page.articles %}
<div class="content-block"> <h2 class="clear-both head-alt-md md:head-alt-lg pb-4 lg:pb-8">
<h2 class="clear-both head-alt-md md:head-alt-lg pb-4 lg:pb-8"> {{ page.articles_title }}
{{ page.articles_title }} </h2>
</h2> <!-- list of articles -->
<!-- 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">
<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 %}
{% for a in page.articles %} {% include "shared/article_preview.html" with article=a %}
{% include "shared/article_preview.html" with article=a %} {% endfor %}
{% endfor %} </div>
</div>
<div class="mb-8 lg:mb-16">
<div class="mb-8 lg:mb-16"> {% include "shared/more_articles_snippet.html" %}
{% include "shared/more_articles_snippet.html" %} </div>
</div>
</div>
{% endif %} {% endif %}
{% if page.election_countdown_datetime %} {% if page.election_countdown_datetime %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment