Removed deprecated web app manifest and md-announce class

This commit is contained in:
squidfunk 2021-11-13 09:05:23 +01:00
parent aafeea1cee
commit 8eca83d8bf

View File

@ -38,13 +38,6 @@
<meta name="description" content="{{ config.site_description }}" /> <meta name="description" content="{{ config.site_description }}" />
{% endif %} {% 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 --> <!-- Page author -->
{% if page and page.meta and page.meta.author %} {% if page and page.meta and page.meta.author %}
<meta name="author" content="{{ page.meta.author }}" /> <meta name="author" content="{{ page.meta.author }}" />
@ -127,15 +120,6 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
<!-- Progressive Web App Manifest -->
{% if config.extra.manifest %}
<link
rel="manifest"
href="{{ config.extra.manifest | url }}"
crossorigin="use-credentials"
/>
{% endif %}
<!-- Custom style sheets --> <!-- Custom style sheets -->
{% for path in config["extra_css"] %} {% for path in config["extra_css"] %}
<link rel="stylesheet" href="{{ path | url }}" /> <link rel="stylesheet" href="{{ path | url }}" />
@ -214,8 +198,8 @@
<!-- Announcement bar --> <!-- Announcement bar -->
<div data-md-component="announce"> <div data-md-component="announce">
{% if self.announce() %} {% if self.announce() %}
<aside class="md-banner md-announce"> <aside class="md-banner">
<div class="md-banner__inner md-announce__inner md-grid md-typeset"> <div class="md-banner__inner md-grid md-typeset">
{% block announce %}{% endblock %} {% block announce %}{% endblock %}
</div> </div>
</aside> </aside>