mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-27 17:00:54 +01:00
Added support for Progressive Web App Manifest
This commit is contained in:
parent
e11410233c
commit
226cb9f4d9
@ -74,6 +74,9 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
<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"] %}
|
||||
<link rel="stylesheet" href="{{ path | url }}">
|
||||
{% endfor %}
|
||||
|
@ -150,6 +150,11 @@
|
||||
<link rel="stylesheet" type="text/css"
|
||||
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 -->
|
||||
{% for path in config["extra_css"] %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ path | url }}" />
|
||||
|
Loading…
Reference in New Issue
Block a user