Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 4196fe09 authored by escuriola's avatar escuriola
Browse files

OEL-1160: Minor page template refactor.

parent ff45cd9e
No related branches found
No related tags found
1 merge request!71OEL-1160: Header refactor.
......@@ -85,7 +85,7 @@
{{ page.navbar_branding }}
<!-- navbar -->
{# navbar #}
{% block navbar %}
{{ pattern('navbar', {
navigation: page.header_left,
......@@ -96,7 +96,7 @@
attributes: create_attribute().addClass(['bcl-header__navbar']),
}) }}
{% endblock %}
<!-- breadcrumbs -->
{# breadcrumbs #}
<div class="container">
{% block breadcrumbs %}
{{ page.breadcrumbs }}
......@@ -105,11 +105,7 @@
</header>
{% endblock %}
<main>
{% if page.header %}
<div class="container mt-2">
{% else %}
<div class="container mt-5">
{% endif %}
<div class="container {{ page.header ? 'mt-2': 'mt-5' }} ">
<div class="row">
{% if page.header %}
{{ page.header }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment