1+ <!--
2+ Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
3+
4+ Permission is hereby granted, free of charge, to any person obtaining a copy
5+ of this software and associated documentation files (the "Software"), to
6+ deal in the Software without restriction, including without limitation the
7+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8+ sell copies of the Software, and to permit persons to whom the Software is
9+ furnished to do so, subject to the following conditions:
10+
11+ The above copyright notice and this permission notice shall be included in
12+ all copies or substantial portions of the Software.
13+
14+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+ FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
17+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
20+ IN THE SOFTWARE.
21+ -->
22+
23+ {% import "partials/language.html" as lang with context %}
24+
25+ <!-- Application footer -->
26+ < footer class ="md-footer ">
27+
28+ <!-- Link to previous and/or next page -->
29+ {% if page.previous_page or page.next_page %}
30+ < div class ="md-footer-nav ">
31+ < nav
32+ class ="md-footer-nav__inner md-grid "
33+ aria-label ="{{ lang.t('footer.title') }} "
34+ >
35+
36+ <!-- Link to previous page -->
37+ {% if page.previous_page %}
38+ < a
39+ href ="{{ page.previous_page.url | url }} "
40+ class ="md-footer-nav__link md-footer-nav__link--prev "
41+ rel ="prev "
42+ >
43+ < div class ="md-footer-nav__button md-icon ">
44+ {% include ".icons/material/arrow-left.svg" %}
45+ </ div >
46+ < div class ="md-footer-nav__title ">
47+ < div class ="md-ellipsis ">
48+ < span class ="md-footer-nav__direction ">
49+ {{ lang.t("footer.previous") }}
50+ </ span >
51+ {{ page.previous_page.title }}
52+ </ div >
53+ </ div >
54+ </ a >
55+ {% endif %}
56+
57+ <!-- Link to next page -->
58+ {% if page.next_page %}
59+ < a
60+ href ="{{ page.next_page.url | url }} "
61+ class ="md-footer-nav__link md-footer-nav__link--next "
62+ rel ="next "
63+ >
64+ < div class ="md-footer-nav__title ">
65+ < div class ="md-ellipsis ">
66+ < span class ="md-footer-nav__direction ">
67+ {{ lang.t("footer.next") }}
68+ </ span >
69+ {{ page.next_page.title }}
70+ </ div >
71+ </ div >
72+ < div class ="md-footer-nav__button md-icon ">
73+ {% include ".icons/material/arrow-right.svg" %}
74+ </ div >
75+ </ a >
76+ {% endif %}
77+ </ nav >
78+ </ div >
79+ {% endif %}
80+
81+ <!-- Further information -->
82+ < div class ="md-footer-meta md-typeset ">
83+ < div class ="md-footer-meta__inner md-grid ">
84+
85+ <!-- Copyright and theme information -->
86+ < div class ="md-footer-copyright ">
87+ {% if config.copyright %}
88+ < div class ="md-footer-copyright__highlight ">
89+ {{ config.copyright }}
90+ </ div >
91+ {% endif %}
92+ Made with
93+ < a
94+ href ="https://alandefreitas.github.io/mdsplit/ "
95+ target ="_blank " rel ="noopener "
96+ >
97+ < code style ="background-color: #323232; "> mdsplit</ code >
98+ </ a >
99+ and
100+ < a
101+ href ="https://squidfunk.github.io/mkdocs-material/ "
102+ target ="_blank " rel ="noopener "
103+ >
104+ Material for MkDocs
105+ </ a >
106+ </ div >
107+
108+ <!-- Social links -->
109+ {% include "partials/social.html" %}
110+ </ div >
111+ </ div >
112+ </ footer >
0 commit comments