Skip body section if blank

This commit is contained in:
Oleg Lavrovsky 2020-05-15 11:40:13 +02:00
parent 42b5a11bb3
commit 98ace013ef

View file

@ -21,6 +21,7 @@
{% include 'news.html' %} {% include 'news.html' %}
<!-- Page body --> <!-- Page body -->
{% if page.trans_body %}
<section> <section>
<div class="container"> <div class="container">
<div class="homepage-body"> <div class="homepage-body">
@ -28,6 +29,7 @@
</div> </div>
</div> </div>
</section> </section>
{% endif %}
<!-- Infoblocks --> <!-- Infoblocks -->
{% include 'infos.html' %} {% include 'infos.html' %}