mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Removed deprecated web app manifest and md-announce class
This commit is contained in:
parent
aafeea1cee
commit
8eca83d8bf
@ -38,13 +38,6 @@
|
||||
<meta name="description" content="{{ config.site_description }}" />
|
||||
{% endif %}
|
||||
|
||||
<!-- Page keywords -->
|
||||
{% if page and page.meta and page.meta.keywords %}
|
||||
<meta name="keywords" content="{{ page.meta.keywords }}" />
|
||||
{% elif config.site_keywords %}
|
||||
<meta name="keywords" content="{{ config.site_keywords }}" />
|
||||
{% endif %}
|
||||
|
||||
<!-- Page author -->
|
||||
{% if page and page.meta and page.meta.author %}
|
||||
<meta name="author" content="{{ page.meta.author }}" />
|
||||
@ -127,15 +120,6 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
<!-- Progressive Web App Manifest -->
|
||||
{% if config.extra.manifest %}
|
||||
<link
|
||||
rel="manifest"
|
||||
href="{{ config.extra.manifest | url }}"
|
||||
crossorigin="use-credentials"
|
||||
/>
|
||||
{% endif %}
|
||||
|
||||
<!-- Custom style sheets -->
|
||||
{% for path in config["extra_css"] %}
|
||||
<link rel="stylesheet" href="{{ path | url }}" />
|
||||
@ -214,8 +198,8 @@
|
||||
<!-- Announcement bar -->
|
||||
<div data-md-component="announce">
|
||||
{% if self.announce() %}
|
||||
<aside class="md-banner md-announce">
|
||||
<div class="md-banner__inner md-announce__inner md-grid md-typeset">
|
||||
<aside class="md-banner">
|
||||
<div class="md-banner__inner md-grid md-typeset">
|
||||
{% block announce %}{% endblock %}
|
||||
</div>
|
||||
</aside>
|
||||
|
Loading…
Reference in New Issue
Block a user