mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03: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 %}
|
||||||
|
+ </div>
|
||||||
|
+ <div data-md-component="announce">
|
||||||
+ {% if self.announce() %}
|
+ {% if self.announce() %}
|
||||||
+ <aside class="md-announce" data-md-component="announce">
|
+ <aside class="md-announce">
|
||||||
+ <div class="md-announce__inner md-grid md-typeset">
|
+ <div class="md-announce__inner md-grid md-typeset">
|
||||||
+ {% block announce %}{% endblock %}
|
+ {% block announce %}{% endblock %}
|
||||||
+ </div>
|
+ </div>
|
||||||
+ </aside>
|
+ </aside>
|
||||||
+ {% endif %}
|
+ {% endif %}
|
||||||
|
+ </div>
|
||||||
{% block header %}
|
{% block header %}
|
||||||
{% include "partials/header.html" %}
|
{% include "partials/header.html" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user