Merge branch 'master' of github.com:squidfunk/mkdocs-material

This commit is contained in:
squidfunk 2021-06-12 13:30:29 +02:00
commit dad1ac39d5
2 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@
<nav class="md-footer__inner md-grid" aria-label="{{ lang.t('footer.title') }}"> <nav class="md-footer__inner md-grid" aria-label="{{ lang.t('footer.title') }}">
{% if page.previous_page %} {% if page.previous_page %}
{% set direction = lang.t("footer.previous") %} {% set direction = lang.t("footer.previous") %}
<a href="{{ page.previous_page.url | url }}" class="md-footer__link md-footer__link--prev" aria-label="{{ direction }}: {{ page.previous_page.title }}" rel="prev"> <a href="{{ page.previous_page.url | url }}" class="md-footer__link md-footer__link--prev" aria-label="{{ direction }}: {{ page.previous_page.title | e }}" rel="prev">
<div class="md-footer__button md-icon"> <div class="md-footer__button md-icon">
{% include ".icons/material/arrow-left.svg" %} {% include ".icons/material/arrow-left.svg" %}
</div> </div>
@ -23,7 +23,7 @@
{% endif %} {% endif %}
{% if page.next_page %} {% if page.next_page %}
{% set direction = lang.t("footer.next") %} {% set direction = lang.t("footer.next") %}
<a href="{{ page.next_page.url | url }}" class="md-footer__link md-footer__link--next" aria-label="{{ direction }}: {{ page.next_page.title }}" rel="next"> <a href="{{ page.next_page.url | url }}" class="md-footer__link md-footer__link--next" aria-label="{{ direction }}: {{ page.next_page.title | e }}" rel="next">
<div class="md-footer__title"> <div class="md-footer__title">
<div class="md-ellipsis"> <div class="md-ellipsis">
<span class="md-footer__direction"> <span class="md-footer__direction">

View File

@ -38,7 +38,7 @@
<a <a
href="{{ page.previous_page.url | url }}" href="{{ page.previous_page.url | url }}"
class="md-footer__link md-footer__link--prev" class="md-footer__link md-footer__link--prev"
aria-label="{{ direction }}: {{ page.previous_page.title }}" aria-label="{{ direction }}: {{ page.previous_page.title | e }}"
rel="prev" rel="prev"
> >
<div class="md-footer__button md-icon"> <div class="md-footer__button md-icon">
@ -61,7 +61,7 @@
<a <a
href="{{ page.next_page.url | url }}" href="{{ page.next_page.url | url }}"
class="md-footer__link md-footer__link--next" class="md-footer__link md-footer__link--next"
aria-label="{{ direction }}: {{ page.next_page.title }}" aria-label="{{ direction }}: {{ page.next_page.title | e }}"
rel="next" rel="next"
> >
<div class="md-footer__title"> <div class="md-footer__title">