1
+ <!--
2
+ Copyright (c) 2016-2017 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 %}
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 class ="md-footer-nav__inner md-grid ">
32
+
33
+ <!-- Link to previous page -->
34
+ {% if page.previous_page %}
35
+ < a href ="{{ page.previous_page.url }} "
36
+ title ="{{ page.previous_page.title }} "
37
+ class ="md-flex md-footer-nav__link md-footer-nav__link--prev "
38
+ rel ="prev ">
39
+ < div class ="md-flex__cell md-flex__cell--shrink ">
40
+ < i class ="md-icon md-icon--arrow-back
41
+ md-footer-nav__button "> </ i >
42
+ </ div >
43
+ < div class ="md-flex__cell md-flex__cell--stretch
44
+ md-footer-nav__title ">
45
+ < span class ="md-flex__ellipsis ">
46
+ < span class ="md-footer-nav__direction ">
47
+ {{ lang.t('footer.previous') }}
48
+ </ span >
49
+ {{ page.previous_page.title }}
50
+ </ span >
51
+ </ div >
52
+ </ a >
53
+ {% endif %}
54
+
55
+ <!-- Link to next page -->
56
+ {% if page.next_page %}
57
+ < a href ="{{ page.next_page.url }} " title ="{{ page.next_page.title }} "
58
+ class ="md-flex md-footer-nav__link md-footer-nav__link--next "
59
+ rel ="next ">
60
+ < div class ="md-flex__cell md-flex__cell--stretch
61
+ md-footer-nav__title ">
62
+ < span class ="md-flex__ellipsis ">
63
+ < span class ="md-footer-nav__direction ">
64
+ {{ lang.t('footer.next') }}
65
+ </ span >
66
+ {{ page.next_page.title }}
67
+ </ span >
68
+ </ div >
69
+ < div class ="md-flex__cell md-flex__cell--shrink ">
70
+ < i class ="md-icon md-icon--arrow-forward
71
+ md-footer-nav__button "> </ i >
72
+ </ div >
73
+ </ a >
74
+ {% endif %}
75
+ </ nav >
76
+ </ div >
77
+ {% endif %}
78
+
79
+ <!-- Further information -->
80
+ < div class ="md-footer-meta md-typeset ">
81
+ < div class ="md-footer-meta__inner md-grid ">
82
+
83
+ <!-- Copyright and theme information -->
84
+ < div class ="md-footer-copyright ">
85
+ {% if config.copyright %}
86
+ < div class ="md-footer-copyright__highlight ">
87
+ {{ config.copyright }}
88
+ </ div >
89
+ {% endif %}
90
+ </ div >
91
+
92
+ <!-- Social links -->
93
+ {% block social %}
94
+ {% include "partials/social.html" %}
95
+ {% endblock %}
96
+ </ div >
97
+ </ div >
98
+ </ footer >
0 commit comments