1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-01 02:27:17 +01:00
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 18:01:56 +02: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 19:53:13 +02: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 18:01:56 +02:00
<div class="md-flex__cell md-flex__cell--shrink">
2017-01-14 20:13:10 +01:00
<i class="md-icon md-icon--arrow-back md-footer-nav__button"></i>
2016-01-28 23:27:15 +01:00
</div>
2016-08-07 18:01:56 +02: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 18:01:56 +02:00
</span>
{{ page.previous_page.title }}
2016-08-07 18:01:56 +02:00
</span>
2016-01-28 23:27:15 +01:00
</div>
2016-08-07 18:01:56 +02:00
</a>
{% endif %}
{% if page.next_page %}
2018-08-04 19:53:13 +02: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 18:01:56 +02: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 18:01:56 +02:00
</span>
{{ page.next_page.title }}
2016-08-07 18:01:56 +02:00
</span>
2016-01-28 23:27:15 +01:00
</div>
2016-08-07 18:01:56 +02:00
<div class="md-flex__cell md-flex__cell--shrink">
2017-01-14 20:13:10 +01:00
<i class="md-icon md-icon--arrow-forward md-footer-nav__button"></i>
2016-01-28 23:27:15 +01:00
</div>
2016-08-07 18:01:56 +02: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 10:27:25 +01:00
and
<a href="https://squidfunk.github.io/mkdocs-material/">
2016-12-29 10:27:25 +01:00
Material for MkDocs</a>
</div>
{% block social %}
{% include "partials/social.html" %}
{% endblock %}
</div>
2016-10-23 19:31:54 +02:00
</div>
2016-09-23 11:56:25 +02:00
</footer>