1
0
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:
squidfunk 2018-11-13 22:24:17 +01:00
parent e11410233c
commit 226cb9f4d9
2 changed files with 8 additions and 0 deletions

View File

@ -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 %}

View File

@ -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 }}" />