mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-12-01 02:27:17 +01:00
Updated documentation
This commit is contained in:
parent
908d34b853
commit
fdac9b66ef
@ -225,7 +225,7 @@ matches the new structure:
|
|||||||
{% if config.extra.manifest %}
|
{% if config.extra.manifest %}
|
||||||
<link rel="manifest" href="{{ config.extra.manifest | url }}" crossorigin="use-credentials">
|
<link rel="manifest" href="{{ config.extra.manifest | url }}" crossorigin="use-credentials">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -95,47 +77,46 @@
|
@@ -95,47 +77,50 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block extrahead %}{% endblock %}
|
{% block extrahead %}{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
@ -255,20 +255,23 @@ matches the new structure:
|
|||||||
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
|
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
|
||||||
- <label class="md-overlay" data-md-component="overlay" for="__drawer"></label>
|
- <label class="md-overlay" data-md-component="overlay" for="__drawer"></label>
|
||||||
+ <label class="md-overlay" for="__drawer"></label>
|
+ <label class="md-overlay" for="__drawer"></label>
|
||||||
{% if page.toc | first is defined %}
|
+ <div data-md-component="skip">
|
||||||
- <a href="{{ (page.toc | first).url }}" tabindex="0" class="md-skip">
|
+ {% if page.toc | first is defined %}
|
||||||
+ {% set skip = page.toc | first %}
|
+ {% set skip = page.toc | first %}
|
||||||
+ <a href="{{ skip.url | url }}" class="md-skip" data-md-component="skip">
|
+ <a href="{{ skip.url | url }}" class="md-skip">
|
||||||
{{ lang.t('skip.link.title') }}
|
+ {{ lang.t('skip.link.title') }}
|
||||||
</a>
|
+ </a>
|
||||||
{% endif %}
|
+ {% endif %}
|
||||||
+ {% if self.announce() %}
|
+ </div>
|
||||||
+ <aside class="md-announce" data-md-component="announce">
|
+ <div data-md-component="announce">
|
||||||
+ <div class="md-announce__inner md-grid md-typeset">
|
+ {% if self.announce() %}
|
||||||
+ {% block announce %}{% endblock %}
|
+ <aside class="md-announce">
|
||||||
+ </div>
|
+ <div class="md-announce__inner md-grid md-typeset">
|
||||||
+ </aside>
|
+ {% block announce %}{% endblock %}
|
||||||
+ {% endif %}
|
+ </div>
|
||||||
|
+ </aside>
|
||||||
|
+ {% endif %}
|
||||||
|
+ </div>
|
||||||
{% block header %}
|
{% block header %}
|
||||||
{% include "partials/header.html" %}
|
{% include "partials/header.html" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user