Migrated to new version of FontAwesome (using CDN)

main
Pierre-Antoine Champin 2019-04-27 21:50:12 +02:00 committed by Vitaly Potyarkin
parent 913dbab88d
commit 9023c28af8
10 changed files with 9 additions and 2684 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 434 KiB

View File

@ -18,16 +18,16 @@
<header>
<ul class="list-inline">
<li class="list-inline-item text-muted" title="{{ article.date.isoformat() }}">
<i class="fa fa-clock-o"></i>
<i class="fas fa-clock"></i>
{{ article.locale_date }}
</li>
<li class="list-inline-item">
<i class="fa fa-folder-open-o"></i>
<i class="fas fa-folder-open"></i>
<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
</li>
{% if not HIDE_AUTHORS and article.authors %}
<li class="list-inline-item">
<i class="fa fa-user-o"></i>
<i class="fas fa-user"></i>
{% for author in article.authors %}
<a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>{% if not loop.last %}, {% endif %}
{% endfor %}
@ -35,7 +35,7 @@
{% endif %}
{% if article.tags %}
<li class="list-inline-item">
<i class="fa fa-files-o"></i>
<i class="fas fa-tag"></i>
{% for tag in article.tags %}
<a href="{{ SITEURL }}/{{ tag.url }}">#{{ tag }}</a>{% if not loop.last %}, {% endif %}
{% endfor %}

View File

@ -27,12 +27,12 @@
{% endif %}
<link rel="stylesheet" href="{{ url(BOOTSTRAP_CSS or '/theme/css/bootstrap.min.css') }}">
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/font-awesome.min.css">
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/pygments/{{ PYGMENTS_STYLE|default('default') }}.min.css">
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/theme.css">
{% for stylesheet in THEME_CSS_OVERRIDES or () %}
<link rel="stylesheet" href="{{ url(stylesheet) }}">
{% endfor %}
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
{% include 'include/xml_feeds.html' %}
{% block head %}{% endblock %}

View File

@ -28,7 +28,7 @@
{% if (LINKS or (DISPLAY_PAGES_ON_MENU and pages)) and loop.first %}
<li class=" list-inline-item text-muted">|</li>
{% endif %}
<li class="list-inline-item"><a class="fa fa-{{ icon }}" href="{{ url(link) }}" target="_blank"></a></li>
<li class="list-inline-item"><a class="fab fa-{{ icon }}" href="{{ link }}" target="_blank"></a></li>
{% endfor %}
</ul>
{% endif %}

View File

@ -21,16 +21,16 @@
<header class="col-sm-4 text-muted">
<ul>
<li title="{{ article.date.isoformat() }}">
<i class="fa fa-clock-o"></i>
<i class="fas fa-clock"></i>
{{ article.locale_date }}
</li>
<li>
<i class="fa fa-folder-open-o"></i>
<i class="fas fa-folder-open"></i>
<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
</li>
{% if not HIDE_AUTHORS and article.authors %}
<li>
<i class="fa fa-user-o"></i>
<i class="fas fa-user"></i>
{% for author in article.authors %}
<a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>{% if not loop.last %}, {% endif %}
{% endfor %}