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 %}
|
{% if config.extra.manifest %}
|
||||||
<link rel="manifest" href="{{ config.extra.manifest | url }}">
|
<link rel="manifest" href="{{ config.extra.manifest | url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if config.extra.social %}
|
|
||||||
<link rel="stylesheet" href="{{ 'assets/fonts/font-awesome.css' | url }}">
|
|
||||||
{% endif %}
|
|
||||||
{% for path in config["extra_css"] %}
|
{% for path in config["extra_css"] %}
|
||||||
<link rel="stylesheet" href="{{ path | url }}">
|
<link rel="stylesheet" href="{{ path | url }}">
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
-#}
|
-#}
|
||||||
{% if config.extra.social %}
|
{% if config.extra.social %}
|
||||||
<div class="md-footer-social">
|
<div class="md-footer-social">
|
||||||
|
<link rel="stylesheet" href="{{ 'assets/fonts/font-awesome.css' | url }}">
|
||||||
{% for social in config.extra.social %}
|
{% for social in config.extra.social %}
|
||||||
<a href="{{ social.link }}" class="md-footer-social__link fa fa-{{ social.type }}"></a>
|
<a href="{{ social.link }}" class="md-footer-social__link fa fa-{{ social.type }}"></a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
10
mkdocs.yml
10
mkdocs.yml
@ -62,9 +62,8 @@ theme:
|
|||||||
# Plugins
|
# Plugins
|
||||||
plugins:
|
plugins:
|
||||||
- search:
|
- search:
|
||||||
prebuild_index: false
|
- minify:
|
||||||
# - minify:
|
minify_html: true
|
||||||
# minify_html: true
|
|
||||||
|
|
||||||
# Customization
|
# Customization
|
||||||
extra:
|
extra:
|
||||||
@ -135,8 +134,3 @@ nav:
|
|||||||
google_analytics:
|
google_analytics:
|
||||||
- !!python/object/apply:os.getenv ["GOOGLE_ANALYTICS_KEY"]
|
- !!python/object/apply:os.getenv ["GOOGLE_ANALYTICS_KEY"]
|
||||||
- auto
|
- auto
|
||||||
|
|
||||||
extra_css:
|
|
||||||
- test.css
|
|
||||||
extra_javascript:
|
|
||||||
- test.js
|
|
||||||
|
@ -161,15 +161,6 @@
|
|||||||
<link rel="manifest" href="{{ config.extra.manifest | url }}">
|
<link rel="manifest" href="{{ config.extra.manifest | url }}">
|
||||||
{% endif %}
|
{% 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 -->
|
<!-- Custom stylesheets -->
|
||||||
{% for path in config["extra_css"] %}
|
{% for path in config["extra_css"] %}
|
||||||
<link rel="stylesheet" type="text/css" href="{{ path | url }}" />
|
<link rel="stylesheet" type="text/css" href="{{ path | url }}" />
|
||||||
|
@ -23,6 +23,11 @@
|
|||||||
<!-- Social links in footer -->
|
<!-- Social links in footer -->
|
||||||
{% if config.extra.social %}
|
{% if config.extra.social %}
|
||||||
<div class="md-footer-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 %}
|
{% for social in config.extra.social %}
|
||||||
<a
|
<a
|
||||||
href="{{ social.link }}"
|
href="{{ social.link }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user