mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added support for Progressive Web App Manifest
This commit is contained in:
@@ -74,6 +74,9 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/fonts/material-icons.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/fonts/material-icons.css' | url }}">
|
||||||
|
{% if config.extra.manifest %}
|
||||||
|
<link rel="manifest" href="{{ config.extra.manifest | 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 %}
|
||||||
|
|||||||
@@ -150,6 +150,11 @@
|
|||||||
<link rel="stylesheet" type="text/css"
|
<link rel="stylesheet" type="text/css"
|
||||||
href="{{ 'assets/fonts/material-icons.css' | url }}" />
|
href="{{ 'assets/fonts/material-icons.css' | url }}" />
|
||||||
|
|
||||||
|
<!-- Progressive Web App Manifest -->
|
||||||
|
{% if config.extra.manifest %}
|
||||||
|
<link rel="manifest" href="{{ config.extra.manifest | 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 }}" />
|
||||||
|
|||||||
Reference in New Issue
Block a user