upgrade font-awesome to 5 and add mastodon

This commit is contained in:
alxd 2018-07-05 23:12:25 +02:00
parent 5a41ce0093
commit 775df1256d
24 changed files with 3390 additions and 693 deletions

View file

@ -29,7 +29,9 @@
{% endif %}
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/pygments/{{ PYGMENTS_STYLE|default('github') }}.min.css">
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/font-awesome/css/fontawesome.css">
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/font-awesome/css/brands.css">
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/font-awesome/css/solid.css">
{% if CUSTOM_CSS %}
<link href="{{ SITEURL }}/{{ CUSTOM_CSS }}" rel="stylesheet">
@ -121,7 +123,13 @@
<ul class="social">
{% for name, link in SOCIAL %}
<li><a class="sc-{{ name }}" href="{{ link }}" target="_blank"><i class="fa fa-{{ name }}"></i></a></li>
<li><a class="sc-{{ name }}" href="{{ link }}" target="_blank">
{% if name in ['envelope-open', 'rss'] %}
<i class="fas fa-{{ name }}">
{% else %}
<i class="fab fa-{{ name }}">
{% endif %}
</i></a></li>
{% endfor %}
</ul>
</div>