-
- {% for article in dates %}
-
- {{ article.date|strftime('%A %-d de %B de %Y a las %H:%M %z') }} -
- {{ article.title }} - {% endfor %} -
-
-
-
-
-
+
+
+
+
+
+
{% endblock %}
diff --git a/cl-theme/templates/article.html b/cl-theme/templates/article.html
index 136fd5c..d641148 100644
--- a/cl-theme/templates/article.html
+++ b/cl-theme/templates/article.html
@@ -58,116 +58,112 @@
{% block title %}{{ article.title|striptags }}{% endblock %}
{% block content %}
-
-
-
-
-
+
+
-
-
+
+ {% trans %}Archivos de {{ SITENAME }}{% endtrans %}
-
+
+
-
- {% trans %}Archivos de {{ SITENAME }}{% endtrans %}
+
-
+
-
-
+
-
-
-
- {{ current_year }}
-
-
-
{{ ngettext('%(num)d artículo', '%(num)d artículos', dates|length) }}
--
- {% for article in dates %}
- {% set current_year = article.date|strftime('%Y') %}
- {% set current_month = article.date|strftime('%m') %}
- {% if loop.previtem %}
- {% set previous_year = loop.previtem.date|strftime('%Y') %}
- {% set previous_month = loop.previtem.date|strftime('%m') %}
- {% endif %}
- {% if current_year != previous_year %}
- {% if loop.previtem %}
-
-
+
+
- {{ current_year }}
+
- {{ article.date|strftime('%B') }}
-
-
- {% elif current_month != previous_month %}
- {% if loop.previtem %}
-
-
+ {% elif current_month != previous_month %}
+ {% if loop.previtem %}
+
{% endif %}
- {{ article.date|strftime('%B') }}
-
-
- {% endif %}
-
- {{ article.title }} - {% if loop.last %} -
-
+ {% endif %}
+
- {{ article.title }} + {% if loop.last %} +
-
- {% endif %}
- {% endfor %}
-
- - {{ article.date|strftime('%B') }}
-
+
+
+
+
+
+ {% endif %}
+ {% endfor %}
+
+
- {{ ngettext('%(num)d artículo', '%(num)d artículos', dates|length) }}
+-
+ {% for article in dates %}
+ {% set current_year = article.date|strftime('%Y') %}
+ {% set current_month = article.date|strftime('%m') %}
+ {% if loop.previtem %}
+ {% set previous_year = loop.previtem.date|strftime('%Y') %}
+ {% set previous_month = loop.previtem.date|strftime('%m') %}
+ {% endif %}
+ {% if current_year != previous_year %}
+ {% if loop.previtem %}
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
{% endblock %}
diff --git a/cl-theme/templates/authors.html b/cl-theme/templates/authors.html
index afc4007..1054070 100644
--- a/cl-theme/templates/authors.html
+++ b/cl-theme/templates/authors.html
@@ -8,121 +8,119 @@
{% block title %}{% trans %}Autores de {{ SITENAME }}{% endtrans %}{% endblock %}
{% block content %}
-
-
-
+
+ {{ article.title }}
-
+
+
-
- {{ article.title }}
+
-
+
-
-
+
-
-
-
+
+
- {{ article.content }}
-
-
-
-
-
-
+
+
+
-
-
+
+
+
+ {{ article.content }}
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
- {{ _('Créditos') }}
-
-
-
-
-
+
{% endblock %}
diff --git a/cl-theme/templates/page.html b/cl-theme/templates/page.html
index 9d5a232..31288e4 100644
--- a/cl-theme/templates/page.html
+++ b/cl-theme/templates/page.html
@@ -29,89 +29,85 @@
{% endblock %}
{% block content %}
-
-
+
+
+
+
+
-
+
+
-
+
+
+
+
+
+
+ {{ _('Créditos') }}
+
+
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
{{ _('Artículos') }}
--
- {%- for author, articles in authors|sort %}
-
- - {{ author }} - ({{ articles|count }}) - - {% endfor %} -
{{ _('Artículos') }}
+-
+ {%- for author, articles in authors|sort %}
+
- + {{ author }} + ({{ articles|count }}) + + {% endfor %} +
{{ _('Programación') }}
- +{{ _('Programación') }}
+ -{{ _('Traducción') }}
--
-
- Alyssa Rosenzweig -
- Jorge Maldonado Ventura -
{{ _('Traducción') }}
+-
+
- Alyssa Rosenzweig +
- Jorge Maldonado Ventura +
{{ _('Software que usa la página') }}
- {% set software = (('https://nginx.org/', 'Nginx'), - ('http://babel.pocoo.org/', 'Babel'), - ('https://pypi.org/project/beautifulsoup4/', 'BeautifulSoup4'), - ('https://nodejs.org/', 'nodejs'), - ('https://www.python.org/', 'Python'), - ('https://blog.getpelican.com/', 'Pelican'), - ('https://pypi.org/project/Markdown/', 'Markdown'), - ('https://nodejs.org/', 'nodejs'), - ('https://www.npmjs.com/', 'npm'), - ('https://github.com/fmarcia/UglifyCSS', 'uglifycss'), - ('https://github.com/mishoo/UglifyJS', 'uglifyjs'), - ('https://conocimientoslibres.tuxfamily.org/pages/librejs.html', _('Algunos programas de JavaScript'),)) %} - -{{ _('Miscelánea') }}
--
-
- CitoplasmaC -
{{ _('Software que usa la página') }}
+ {% set software = (('https://nginx.org/', 'Nginx'), + ('http://babel.pocoo.org/', 'Babel'), + ('https://pypi.org/project/beautifulsoup4/', 'BeautifulSoup4'), + ('https://nodejs.org/', 'nodejs'), + ('https://www.python.org/', 'Python'), + ('https://blog.getpelican.com/', 'Pelican'), + ('https://pypi.org/project/Markdown/', 'Markdown'), + ('https://nodejs.org/', 'nodejs'), + ('https://www.npmjs.com/', 'npm'), + ('https://github.com/fmarcia/UglifyCSS', 'uglifycss'), + ('https://github.com/mishoo/UglifyJS', 'uglifyjs'), + ('https://conocimientoslibres.tuxfamily.org/pages/librejs.html', _('Algunos programas de JavaScript'),)) %} + +{{ _('Miscelánea') }}
+-
+
- CitoplasmaC +
-
-
-
-
-
-
-
-
-
-
-
- {{ page.title }}
-
-
-
-
-
- {{ page.content }}
-
-
-
-
-
-
+
+
+
-
{% endblock %}
diff --git a/cl-theme/templates/period_archives.html b/cl-theme/templates/period_archives.html
index b1510b8..d1efa0f 100644
--- a/cl-theme/templates/period_archives.html
+++ b/cl-theme/templates/period_archives.html
@@ -1,47 +1,44 @@
{% extends "base.html" %}
{% block content %}
-
+
+
+
+
-
+
+
+
-
+
+
+
+ {{ page.title }}
+
+
+
+
-
+
+
+ {{ page.content }}
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
{% endblock %}
-
+ - {% set len_period = period|length %} - {%- if len_period == 1 -%} - {{ _('Archivos de %(año)d', año=period[0]) }} - {%- elif len_period == 2 -%} - {{ _('Archivos de %(mes)s de %(año)d', año=period[0], mes=period[1]) }} - {%- elif len_period == 3 -%} - {{ _('Archivos del %(dia)d de %(mes)s de %(año)d', año=period[0], mes=period[1], dia=period[2]) }} - {%- endif -%} -
-
+
- + {% set len_period = period|length %} + {%- if len_period == 1 -%} + {{ _('Archivos de %(año)d', año=period[0]) }} + {%- elif len_period == 2 -%} + {{ _('Archivos de %(mes)s de %(año)d', año=period[0], mes=period[1]) }} + {%- elif len_period == 3 -%} + {{ _('Archivos del %(dia)d de %(mes)s de %(año)d', año=period[0], mes=period[1], dia=period[2]) }} + {%- endif -%} +
+
-
-
+
+
+
+
-
-
-
+
+
-
+ {% for article in dates %}
+
- {{ article.date|strftime('%A %-d de %B de %Y a las %H:%M %z') }} +
- {{ article.title }} + {% endfor %} +