Moved FontAwesome back into footer

This commit is contained in:
squidfunk 2019-12-22 17:42:58 +01:00
parent a18d0a58e4
commit 6e29fc3723
7 changed files with 10 additions and 22 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -70,9 +70,6 @@
{% if config.extra.manifest %}
<link rel="manifest" href="{{ config.extra.manifest | url }}">
{% endif %}
{% if config.extra.social %}
<link rel="stylesheet" href="{{ 'assets/fonts/font-awesome.css' | url }}">
{% endif %}
{% for path in config["extra_css"] %}
<link rel="stylesheet" href="{{ path | url }}">
{% endfor %}

View File

@ -3,6 +3,7 @@
-#}
{% if config.extra.social %}
<div class="md-footer-social">
<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

@ -62,9 +62,8 @@ theme:
# Plugins
plugins:
- search:
prebuild_index: false
# - minify:
# minify_html: true
- minify:
minify_html: true
# Customization
extra:
@ -135,8 +134,3 @@ nav:
google_analytics:
- !!python/object/apply:os.getenv ["GOOGLE_ANALYTICS_KEY"]
- auto
extra_css:
- test.css
extra_javascript:
- test.js

View File

@ -161,15 +161,6 @@
<link rel="manifest" href="{{ config.extra.manifest | url }}">
{% endif %}
<!-- FontAwesome for social links -->
{% if config.extra.social %}
<link
rel="stylesheet"
type="text/css"
href="{{ 'assets/fonts/font-awesome.css' | url }}"
/>
{% endif %}
<!-- Custom stylesheets -->
{% for path in config["extra_css"] %}
<link rel="stylesheet" type="text/css" href="{{ path | url }}" />

View File

@ -23,6 +23,11 @@
<!-- Social links in footer -->
{% if config.extra.social %}
<div class="md-footer-social">
<link
rel="stylesheet"
type="text/css"
href="{{ 'assets/fonts/font-awesome.css' | url }}"
/>
{% for social in config.extra.social %}
<a
href="{{ social.link }}"