1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-22 12:25:56 +01:00
mkdocs-material/material/partials/footer.html

62 lines
2.3 KiB
HTML
Raw Normal View History

2019-09-28 19:42:54 +02:00
{#-
This file was automatically generated - do not edit
-#}
{% import "partials/language.html" as lang with context %}
<footer class="md-footer">
{% if page.previous_page or page.next_page %}
2021-02-22 23:05:09 +01:00
<nav class="md-footer__inner md-grid" aria-label="{{ lang.t('footer.title') }}">
{% 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">
<div class="md-footer-copyright">
{% if config.copyright %}
<div class="md-footer-copyright__highlight">
{{ config.copyright }}
</div>
{% endif %}
{% if not config.extra.generator == false %}
Made with
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
Material for MkDocs
</a>
{% endif %}
{{ extracopyright }}
</div>
{% include "partials/social.html" %}
</div>
</div>
</footer>