From 4088fd03c1dee5d13c86721556b741549b406a05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Sat, 23 Feb 2019 15:40:17 -0500 Subject: [PATCH] added author in post --- cl-theme/templates/article_info.html | 32 ++++++++++++++++++---------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/cl-theme/templates/article_info.html b/cl-theme/templates/article_info.html index 854e5c4..f3c6665 100644 --- a/cl-theme/templates/article_info.html +++ b/cl-theme/templates/article_info.html @@ -20,26 +20,36 @@ {% if article.modified %} - - - {{ _('Modificado el %(fecha)s'|format(fecha=' + + + {{ _('Modificado el %(fecha)s'|format(fecha=' ')|format(article.modified.isoformat(), article.locale_modified)) }} - - + + {% endif %} + {% if not HIDE_AUTHORS and article.authors %} + + {% for author in article.authors %} + + {{ author }}{% if not loop.last %}, {% endif %} + + {% endfor %} + + {% endif %} + {% import 'translations.html' as translations with context %} {% if translations.translations_for(article) %} - - - {{ translations.translations_for(article) }} - - + + + {{ translations.translations_for(article) }} + + {% else %} {% endif %}