mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Moved FontAwesome back into footer
This commit is contained in:
parent
a18d0a58e4
commit
6e29fc3723
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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 %}
|
||||
|
@ -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 %}
|
||||
|
10
mkdocs.yml
10
mkdocs.yml
@ -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
|
||||
|
@ -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 }}" />
|
||||
|
@ -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 }}"
|
||||
|
Loading…
Reference in New Issue
Block a user