No heroes on the front page

This commit is contained in:
Benjamin Melançon 2019-08-08 21:40:46 -04:00
parent fb7764c512
commit f1f66a8e58

View file

@ -38,6 +38,7 @@
{% endblock navbar %} {% endblock navbar %}
{% block header %} {% block header %}
<p class="slogan"><strong class="title">{{ site_slogan }}</strong></p> <p class="slogan"><strong class="title">{{ site_slogan }}</strong></p>
{% if not is_front %}
<section class="hero"> <section class="hero">
{% block header_and_search %} {% block header_and_search %}
{% if page.header %} {% if page.header %}
@ -64,6 +65,7 @@
{% endif %} {% endif %}
{% endblock tabs %} {% endblock tabs %}
</section> </section>
{% endif %}
{% endblock header %} {% endblock header %}
{% block main %} {% block main %}
{# Main section #} {# Main section #}