Skip body section if blank
This commit is contained in:
parent
42b5a11bb3
commit
98ace013ef
1 changed files with 2 additions and 0 deletions
|
@ -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' %}
|
||||||
|
|
Loading…
Reference in a new issue