mkdocs-material/material/partials/footer.html

59 lines
2.3 KiB
HTML
Raw Normal View History

{% import "partials/language.html" as lang with context %}
2016-08-07 19:01:56 +03:00
<footer class="md-footer">
{% if page.previous_page or page.next_page %}
<div class="md-footer-nav">
<nav class="md-footer-nav__inner md-grid">
{% if page.previous_page %}
2018-08-04 20:53:13 +03:00
<a href="{{ page.previous_page.url | url }}" title="{{ page.previous_page.title }}" class="md-flex md-footer-nav__link md-footer-nav__link--prev" rel="prev">
2016-08-07 19:01:56 +03:00
<div class="md-flex__cell md-flex__cell--shrink">
2017-01-14 22:13:10 +03:00
<i class="md-icon md-icon--arrow-back md-footer-nav__button"></i>
2016-01-29 01:27:15 +03:00
</div>
2016-08-07 19:01:56 +03:00
<div class="md-flex__cell md-flex__cell--stretch md-footer-nav__title">
<span class="md-flex__ellipsis">
<span class="md-footer-nav__direction">
{{ lang.t("footer.previous") }}
2016-08-07 19:01:56 +03:00
</span>
{{ page.previous_page.title }}
2016-08-07 19:01:56 +03:00
</span>
2016-01-29 01:27:15 +03:00
</div>
2016-08-07 19:01:56 +03:00
</a>
{% endif %}
{% if page.next_page %}
2018-08-04 20:53:13 +03:00
<a href="{{ page.next_page.url | url }}" title="{{ page.next_page.title }}" class="md-flex md-footer-nav__link md-footer-nav__link--next" rel="next">
2016-08-07 19:01:56 +03:00
<div class="md-flex__cell md-flex__cell--stretch md-footer-nav__title">
<span class="md-flex__ellipsis">
<span class="md-footer-nav__direction">
{{ lang.t("footer.next") }}
2016-08-07 19:01:56 +03:00
</span>
{{ page.next_page.title }}
2016-08-07 19:01:56 +03:00
</span>
2016-01-29 01:27:15 +03:00
</div>
2016-08-07 19:01:56 +03:00
<div class="md-flex__cell md-flex__cell--shrink">
2017-01-14 22:13:10 +03:00
<i class="md-icon md-icon--arrow-forward md-footer-nav__button"></i>
2016-01-29 01:27:15 +03:00
</div>
2016-08-07 19:01:56 +03:00
</a>
{% endif %}
</nav>
</div>
{% 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 %}
powered by
<a href="https://www.mkdocs.org">MkDocs</a>
2016-12-29 12:27:25 +03:00
and
<a href="https://squidfunk.github.io/mkdocs-material/">
2016-12-29 12:27:25 +03:00
Material for MkDocs</a>
</div>
{% block social %}
{% include "partials/social.html" %}
{% endblock %}
</div>
2016-10-23 20:31:54 +03:00
</div>
2016-09-23 12:56:25 +03:00
</footer>