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

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

OEL-579: Header and footer adaptations.

parent 39492415
No related branches found
No related tags found
1 merge request!36OEL-579 - Whitelabel - Medley branch with BCL 0.9.0 upgradel
{% set title = 'European Commission' %}
<div class="col-12 col-lg-4 pb-lg-4">
<p class="fw-bold pb-2 mb-2"> European Commission </p>
<p class="fw-bold pb-2 mb-2"> {{ title|t }} </p>
</div>
{% set title = 'More information on:' %}
<div class="col-12 col-lg-4 pb-lg-4">
<p class="fw-bold pb-2 mb-2">More information on:</p>
<p class="fw-bold pb-2 mb-2"> {{ title|t }}</p>
{% if links is defined and links is not empty and links is iterable %}
{% for link in links %}
{{ pattern('link', link) }}
......
......@@ -9,7 +9,7 @@
<p class="fw-bold border-bottom pb-2 pt-3 mb-2"> {{ social_media_title|t }} </p>
{% if social_media_links is defined and social_media_links is not empty and social_media_links is iterable %}
{% for social_link in social_media_links %}
{ pattern('link', social_link) }}
{{ pattern('link', social_link) }}
{% endfor %}
{% endif %}
......
......@@ -15,10 +15,12 @@
#}
{% block content %}
{% if site_logo %}
<img class="d-none d-lg-inline-block" src="{{ site_logo }}" alt="{{ 'Home'|t }}" />
<a class="text-decoration-none site-logo" href="{{ path('<front>') }}" rel="home">
<img class="d-none d-lg-inline-block" src="{{ site_logo }}" alt="{{ 'Home'|t }}" />
</a>
{% endif %}
{% if site_name %}
<p class="site-name">{{ site_name }}</p>
<p class="site-name"><a class="text-white text-decoration-none align-bottom" href="{{ path('<front>') }}" rel="home">{{ site_name }}</a></p>
{% endif %}
{% if site_slogan %}
<div class="site-slogan">{{ site_slogan }}</div>
......
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