improved contacto page
This commit is contained in:
@@ -113,13 +113,12 @@
|
||||
</a>
|
||||
</div>
|
||||
<!-- post footer nav -->
|
||||
<div class="columns">
|
||||
<footer class="columns">
|
||||
<div class="column has-text-left">
|
||||
<a class="button is-small is-button-grey" href="{{ SITEURL }}/">{{ _('Regresar al Inicio') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<!-- end of post footer nav -->
|
||||
|
||||
</div>
|
||||
<!-- end of post footer -->
|
||||
</div>
|
||||
|
||||
@@ -98,19 +98,19 @@
|
||||
<div class="column has-text-left">
|
||||
<a class="button is-small is-button-grey" href="{{ SITEURL }}/">{{ _('Regresar al Inicio') }}</a>
|
||||
</div>
|
||||
<div class="column has-text-right">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#translate" />
|
||||
</svg>
|
||||
</span>
|
||||
{% import 'translations.html' as translations with context %}
|
||||
{% if translations.translations_for(page) %}
|
||||
{% import 'translations.html' as translations with context %}
|
||||
{% if translations.translations_for(page) %}
|
||||
<div class="column has-text-right">
|
||||
<span class="soumaicon">
|
||||
<svg>
|
||||
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#translate" />
|
||||
</svg>
|
||||
</span>
|
||||
<small>
|
||||
{{ translations.translations_for(page) }}
|
||||
</small>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</footer>
|
||||
<!-- end of post footer nav -->
|
||||
</div>
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
{% macro translations_for(article) %}
|
||||
{% if article.translations %}
|
||||
{{ _('Traducciones:') }}
|
||||
{% for translation in article.translations %}
|
||||
<a href="{{ SITEURL }}/{{ translation.url }}" hreflang="{{ translation.lang }}">{{ translation.lang }}</a>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if article.translations %}
|
||||
{{ _('Traducciones:') }}
|
||||
{% for translation in article.translations %}
|
||||
<a href="{{ SITEURL }}/{{ translation.url }}" hreflang="{{ translation.lang }}">{{ translation.lang }}</a>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
||||
{% macro entry_hreflang(entry) %}
|
||||
{% if entry.translations %}
|
||||
{% for translation in entry.translations %}
|
||||
<link rel="alternate" hreflang="{{ translation.lang }}" href="{{ SITEURL }}/{{ translation.url }}"/>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if entry.translations %}
|
||||
{% for translation in entry.translations %}
|
||||
<link rel="alternate" hreflang="{{ translation.lang }}" href="{{ SITEURL }}/{{ translation.url }}"/>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
||||
Reference in New Issue
Block a user