mkdocs-material/material/partials/footer.html

64 lines
2.3 KiB
HTML
Raw Normal View History

2019-09-28 20:42:54 +03: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-23 01:05:09 +03:00
<nav class="md-footer__inner md-grid" aria-label="{{ lang.t('footer.title') }}">
{% if page.previous_page %}
2021-06-06 15:29:01 +03: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-23 01:05:09 +03: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 15:29:01 +03:00
{{ direction }}
2021-02-23 01:05:09 +03:00
</span>
{{ page.previous_page.title }}
</div>
2021-02-23 01:05:09 +03:00
</div>
</a>
{% endif %}
{% if page.next_page %}
2021-06-06 15:29:01 +03: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-23 01:05:09 +03:00
<div class="md-footer__title">
<div class="md-ellipsis">
<span class="md-footer__direction">
2021-06-06 15:29:01 +03:00
{{ direction }}
2021-02-23 01:05:09 +03:00
</span>
{{ page.next_page.title }}
</div>
2021-02-23 01:05:09 +03: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>
{% if config.extra.social %}
{% include "partials/social.html" %}
{% endif %}
</div>
</div>
</footer>