aboutsummaryrefslogtreecommitdiffstats
path: root/cl-theme
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2020-05-06 19:18:28 -0500
committerJesús <heckyel@hyperbola.info>2020-05-06 19:18:28 -0500
commitd3b92789dc8b672bf52a0f46a5f5cdbda4dcc0c0 (patch)
tree716028982d54cb40d9c3576d131c3d76bed78ed7 /cl-theme
parentd1e1ab2f67b72ef0afe7e630a30645554f98e6df (diff)
downloadcl-d3b92789dc8b672bf52a0f46a5f5cdbda4dcc0c0.tar.lz
cl-d3b92789dc8b672bf52a0f46a5f5cdbda4dcc0c0.tar.xz
cl-d3b92789dc8b672bf52a0f46a5f5cdbda4dcc0c0.zip
improved contacto page
Diffstat (limited to 'cl-theme')
-rw-r--r--cl-theme/templates/authors.html5
-rw-r--r--cl-theme/templates/page.html20
-rw-r--r--cl-theme/templates/translations.html22
3 files changed, 23 insertions, 24 deletions
diff --git a/cl-theme/templates/authors.html b/cl-theme/templates/authors.html
index ab8f658..aa6c7f4 100644
--- a/cl-theme/templates/authors.html
+++ b/cl-theme/templates/authors.html
@@ -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>
diff --git a/cl-theme/templates/page.html b/cl-theme/templates/page.html
index 4170e3a..c8d5857 100644
--- a/cl-theme/templates/page.html
+++ b/cl-theme/templates/page.html
@@ -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>
diff --git a/cl-theme/templates/translations.html b/cl-theme/templates/translations.html
index 7116942..0c14653 100644
--- a/cl-theme/templates/translations.html
+++ b/cl-theme/templates/translations.html
@@ -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 %}