1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2025-02-17 18:49:21 +01:00

Removed deprecated non-standard site_keywords setting

This commit is contained in:
squidfunk 2021-11-13 09:04:46 +01:00
parent adcdb2aa52
commit f2f1e948b7
3 changed files with 39 additions and 11 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -13,11 +13,6 @@
{% elif config.site_description %} {% elif config.site_description %}
<meta name="description" content="{{ config.site_description }}"> <meta name="description" content="{{ config.site_description }}">
{% endif %} {% endif %}
{% 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 %}
{% 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 }}">
{% elif config.site_author %} {% elif config.site_author %}
@ -64,9 +59,6 @@
<style>:root{--md-text-font-family:"{{ font.text }}";--md-code-font-family:"{{ font.code }}"}</style> <style>:root{--md-text-font-family:"{{ font.text }}";--md-code-font-family:"{{ font.code }}"}</style>
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% if config.extra.manifest %}
<link rel="manifest" href="{{ config.extra.manifest | url }}" crossorigin="use-credentials">
{% 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 %}
@ -106,8 +98,8 @@
</div> </div>
<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>
@ -225,7 +217,7 @@
</script> </script>
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
<script src="{{ 'assets/javascripts/bundle.1e84347e.min.js' | url }}"></script> <script src="{{ 'assets/javascripts/bundle.333da091.min.js' | url }}"></script>
{% for path in config["extra_javascript"] %} {% for path in config["extra_javascript"] %}
<script src="{{ path | url }}"></script> <script src="{{ path | url }}"></script>
{% endfor %} {% endfor %}