1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-23 23:21:00 +01:00

Fixed missing URL filter in footer for FontAwesome link

This commit is contained in:
squidfunk 2018-10-23 08:35:56 +02:00
parent fa8d490b16
commit 15e604f797
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
mkdocs-material-3.x.x (2018-xx-xx)
* Fixed #902: Missing URL filter in footer for FontAwesome link
mkdocs-material-3.0.4 (2018-09-03)
* Updated Dutch translations

View File

@ -1,6 +1,6 @@
{% if config.extra.social %}
<div class="md-footer-social">
<link rel="stylesheet" href="{{ base_url }}/assets/fonts/font-awesome.css">
<link rel="stylesheet" href="{{ 'assets/fonts/font-awesome.css' | url }}">
{% for social in config.extra.social %}
<a href="{{ social.link }}" class="md-footer-social__link fa fa-{{ social.type }}"></a>
{% endfor %}

View File

@ -24,7 +24,7 @@
{% if config.extra.social %}
<div class="md-footer-social">
<link rel="stylesheet" type="text/css"
href="{{ base_url }}/assets/fonts/font-awesome.css" />
href="{{ 'assets/fonts/font-awesome.css' | url }}" />
{% for social in config.extra.social %}
<a href="{{ social.link }}" class="md-footer-social__link
fa fa-{{ social.type }}"></a>