Skip to content
Snippets Groups Projects
Commit e07202c4 authored by OndraPetrzilka's avatar OndraPetrzilka
Browse files

if tweet_list empty, dont render twitter block

parent b94a7c88
No related branches found
No related tags found
3 merge requests!607Pirati.cz,!587added main and profile picture to main person model, main_person template in...,!575Feature/pirati cz
Pipeline #9393 passed
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
{% endif %} {% endif %}
</section> </section>
</div> </div>
{% if not tweet_list.empty %} {% if tweet_list %}
<section class="grid-container no-max"> <section class="grid-container no-max">
<div class="grid-content-with-right-side"> <div class="grid-content-with-right-side">
<h2 class="head-4xl text-center xl:text-left"> <h2 class="head-4xl text-center xl:text-left">
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
</div> </div>
</section> </section>
{% endif %} {% endif %}
{% if not article_page_list.empty %} {% if article_page_list %}
<section class="grid-container mb-4 justify-start xl:mb-14"> <section class="grid-container mb-4 justify-start xl:mb-14">
<div class="grid-content"> <div class="grid-content">
<div class="leading-6"> <div class="leading-6">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment