1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-24 15:40:15 +01:00
mkdocs-material/material/partials/footer.html

53 lines
2.0 KiB
HTML
Raw Normal View History

2019-09-28 19:42:54 +02:00
{#-
This file was automatically generated - do not edit
-#}
<footer class="md-footer">
{% if page.previous_page or page.next_page %}
{% if page.meta and page.meta.hide %}
{% set hidden = "hidden" if "footer" in page.meta.hide %}
{% endif %}
<nav class="md-footer__inner md-grid" aria-label="{{ lang.t('footer.title') }}" {{ hidden }}>
2021-02-22 23:05:09 +01:00
{% if page.previous_page %}
2021-06-06 14:29:01 +02:00
{% 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 | e }}" rel="prev">
2021-02-22 23:05:09 +01:00
<div class="md-footer__button md-icon">
{% include ".icons/material/arrow-left.svg" %}
</div>
<div class="md-footer__title">
<div class="md-ellipsis">
<span class="md-footer__direction">
2021-06-06 14:29:01 +02:00
{{ direction }}
2021-02-22 23:05:09 +01:00
</span>
{{ page.previous_page.title }}
</div>
2021-02-22 23:05:09 +01:00
</div>
</a>
{% endif %}
{% if page.next_page %}
2021-06-06 14:29:01 +02:00
{% 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 | e }}" rel="next">
2021-02-22 23:05:09 +01:00
<div class="md-footer__title">
<div class="md-ellipsis">
<span class="md-footer__direction">
2021-06-06 14:29:01 +02:00
{{ direction }}
2021-02-22 23:05:09 +01:00
</span>
{{ page.next_page.title }}
</div>
2021-02-22 23:05:09 +01:00
</div>
<div class="md-footer__button md-icon">
{% include ".icons/material/arrow-right.svg" %}
</div>
</a>
{% endif %}
</nav>
{% endif %}
<div class="md-footer-meta md-typeset">
<div class="md-footer-meta__inner md-grid">
2021-11-13 13:41:07 +01:00
{% include "partials/copyright.html" %}
{% if config.extra.social %}
{% include "partials/social.html" %}
{% endif %}
</div>
</div>
</footer>