added author in post

This commit is contained in:
Jesús 2019-02-23 15:40:17 -05:00
parent 64b7375c82
commit 4088fd03c1
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -20,26 +20,36 @@
</i>
{% if article.modified %}
<i class="fa fa-calendar">
<span class="edit-link"
title="{{ _('Fecha de modificación') }}">
<small class="screen-reader-text">{{ _('Modificado el %(fecha)s'|format(fecha='</small>
<i class="fa fa-calendar">
<span class="edit-link"
title="{{ _('Fecha de modificación') }}">
<small class="screen-reader-text">{{ _('Modificado el %(fecha)s'|format(fecha='</small>
<time class="updated" datetime="%s"><small>%s</small></time>')|format(article.modified.isoformat(), article.locale_modified)) }}
</span>
</i>
</span>
</i>
{% endif %}
<!-- <i class="fa fa-comment">
<small>20 comments</small>
</i> -->
{% if not HIDE_AUTHORS and article.authors %}
<i class="fa fa-user-o">
{% for author in article.authors %}
<small>
<a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>{% if not loop.last %}, {% endif %}
</small>
{% endfor %}
</i>
{% endif %}
{% import 'translations.html' as translations with context %}
{% if translations.translations_for(article) %}
<i class="fa fa-flag">
<small>
{{ translations.translations_for(article) }}
</small>
</i>
<i class="fa fa-flag">
<small>
{{ translations.translations_for(article) }}
</small>
</i>
{% else %}
{% endif %}