cl/cl-theme/templates/article_info.html
2019-02-23 15:40:17 -05:00

59 lines
2.1 KiB
HTML

<!-- post footer -->
<div class="card-content-footer">
<i class="fa fa-calendar">
{% set año = article.date|strftime('%Y') %}
{% set mes = article.date|strftime('%m') %}
{% set nombre_mes = article.date|strftime('%B') %}
<time class="entry-date published"
datetime="{{ article.date.isoformat() }}">
<small>
{{ article.date|strftime('%a %-d') }}
<a href="{{ SITEURL }}/archives/{{ año }}/{{ mes }}/"
title="{% trans %}Artículos de {{ nombre_mes }} de {{ año }}{% endtrans %}">
{{ nombre_mes }}
</a>
<a href="{{ SITEURL }}/archives/{{ año }}/"
title="{% trans %}Artículos de {{ año }}{% endtrans %}">{{ año }}
</a>
</small>
</time>
</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>
<time class="updated" datetime="%s"><small>%s</small></time>')|format(article.modified.isoformat(), article.locale_modified)) }}
</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>
{% else %}
{% endif %}
</div>
<!-- end of post footer -->
<!-- /.post-info -->