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