Created
September 7, 2016 08:37
-
-
Save vlledo/41b84ff1e526a39b9f6f90b0fbb46b5c to your computer and use it in GitHub Desktop.
Partial twig file for subsite's custom header
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="uja-header__subsite" style="background-color: {{ header_background_color }}"> | |
<div class="uja-header-subsite-inner"> | |
<div class="uja-header-subsite-row"> | |
<div class="uja-header__subsite-image"> | |
<a href="{{front_page}}" title="{{ 'Ir a la página principal' | t }}">{{ header_image | raw }}</a> | |
</div> | |
<div class="uja-header__subsite-contact-info"> | |
{% if header_logo is defined %} | |
<div class="uja-header__subsite-contact-info_logo"> | |
<img src="{{ header_logo }}" alt="{{ "Logotipo del sitio"|t }}"/> | |
</div> | |
{% endif %} | |
<div class="uja-header__subsite-contact-info_data {% if header_logo is defined %}uja-header__subsite-contact-info_data__maxwidth{% endif %}"> | |
<h1 class="uja-header__subsite-contact-info_title"><a href="{{front_page}}" title="{{ 'Ir a la página principal' | t }}">{{ site_name }}</a></h1> | |
<p>{{ contact_lugar | raw }}</p> | |
<p>{{ contact_telefono }}</p> | |
<p><a href="mailto:{{ contact_email }}" title="{{ 'Enviar correo electrónico'|t }}">{{ contact_email }}</a></p> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment