added author in post
This commit is contained in:
parent
64b7375c82
commit
4088fd03c1
@ -20,26 +20,36 @@
|
|||||||
</i>
|
</i>
|
||||||
|
|
||||||
{% if article.modified %}
|
{% if article.modified %}
|
||||||
<i class="fa fa-calendar">
|
<i class="fa fa-calendar">
|
||||||
<span class="edit-link"
|
<span class="edit-link"
|
||||||
title="{{ _('Fecha de modificación') }}">
|
title="{{ _('Fecha de modificación') }}">
|
||||||
<small class="screen-reader-text">{{ _('Modificado el %(fecha)s'|format(fecha='</small>
|
<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)) }}
|
<time class="updated" datetime="%s"><small>%s</small></time>')|format(article.modified.isoformat(), article.locale_modified)) }}
|
||||||
</span>
|
</span>
|
||||||
</i>
|
</i>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- <i class="fa fa-comment">
|
<!-- <i class="fa fa-comment">
|
||||||
<small>20 comments</small>
|
<small>20 comments</small>
|
||||||
</i> -->
|
</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 %}
|
{% import 'translations.html' as translations with context %}
|
||||||
{% if translations.translations_for(article) %}
|
{% if translations.translations_for(article) %}
|
||||||
<i class="fa fa-flag">
|
<i class="fa fa-flag">
|
||||||
<small>
|
<small>
|
||||||
{{ translations.translations_for(article) }}
|
{{ translations.translations_for(article) }}
|
||||||
</small>
|
</small>
|
||||||
</i>
|
</i>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user