mkdocs-material/material/partials/footer.html

53 lines
1.9 KiB
HTML
Raw Normal View History

2019-09-28 20:42:54 +03: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 %}
2022-11-12 15:56:18 +03:00
<nav class="md-footer__inner md-grid" aria-label="{{ lang.t('footer') }}" {{ hidden }}>
2021-02-23 01:05:09 +03:00
{% 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">
2021-11-13 15:41:07 +03:00
{% include "partials/copyright.html" %}
{% if config.extra.social %}
{% include "partials/social.html" %}
{% endif %}
</div>
</div>
</footer>