mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-27 17:00:54 +01:00
Fixed invalid skip-to-content link on 2nd+ level
This commit is contained in:
parent
15e604f797
commit
13a76c45d6
@ -1,5 +1,6 @@
|
||||
mkdocs-material-3.x.x (2018-xx-xx)
|
||||
|
||||
* Fixed #899: Skip-to-content link invalid from 2nd level on
|
||||
* Fixed #902: Missing URL filter in footer for FontAwesome link
|
||||
|
||||
mkdocs-material-3.0.4 (2018-09-03)
|
||||
|
@ -102,7 +102,7 @@
|
||||
<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>
|
||||
{% if page.toc | first is defined %}
|
||||
<a href="{{ (page.toc | first).url | url }}" tabindex="1" class="md-skip">
|
||||
<a href="{{ (page.toc | first).url }}" tabindex="1" class="md-skip">
|
||||
{{ lang.t('skip.link.title') }}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
@ -203,7 +203,7 @@
|
||||
|
||||
<!-- Render "skip to content" link -->
|
||||
{% if page.toc | first is defined %}
|
||||
<a href="{{ (page.toc | first).url | url }}" tabindex="1"
|
||||
<a href="{{ (page.toc | first).url }}" tabindex="1"
|
||||
class="md-skip">
|
||||
{{ lang.t('skip.link.title') }}
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user