replace FontIcons for SVGIcons

This commit is contained in:
Jesús
2019-03-07 12:07:04 -05:00
parent 7b505891bf
commit c502c88757
12 changed files with 925 additions and 749 deletions

View File

@@ -1,55 +1,63 @@
<!-- 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>
<span class="soumaicon">
<svg>
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#calendar" />
</svg>
</span>
{% 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>
{% 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>
<span class="soumaicon">
<svg>
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#calendar" />
</svg>
</span>
<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>
{% 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>
<span class="soumaicon">
<svg>
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#user" />
</svg>
</span>
{% for author in article.authors %}
<small>
<a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>{% if not loop.last %}, {% endif %}
</small>
{% endfor %}
{% 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>
<span class="soumaicon">
<svg>
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#translate" />
</svg>
</span>
<small>
{{ translations.translations_for(article) }}
</small>
{% else %}
{% endif %}