Skip to content

Commit

Permalink
Removed body block for blog template
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoHood committed Oct 30, 2020
1 parent 96ec5ae commit 0026066
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions templates/blog.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,6 @@
{% include 'partials/hero.html.twig' with {id: 'blog-hero', content: page.content, hero_image: blog_image} %}
{% endblock %}

{# We must override the body here in order to inject the additional class blog-listing #}
{% block body %}
<section id="body-wrapper" class="section">
<section class="container {{ grid_size }}">

{% block messages %}
{% include 'partials/messages.html.twig' ignore missing %}
{% endblock %}

{% block breadcrumbs %}
{% if show_breadcrumbs and config.plugins.breadcrumbs.enabled %}
{% include 'partials/breadcrumbs.html.twig' %}
{% endif %}
{% endblock %}

{{ block('content_surround') }}

</section>
</section>
{% endblock %}

{% block content %}
{% embed 'partials/layout.html.twig' with {blog: page} %}
{% block item %}
Expand Down

0 comments on commit 0026066

Please sign in to comment.