|
| 1 | +<!-- |
| 2 | + Copyright (c) 2016-2024 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 | +<!-- Footer --> |
| 24 | +<footer class="md-footer"> |
| 25 | + |
| 26 | + <div style="background: #1e2129;"> |
| 27 | + <div class="md-footer__inner md-grid"> |
| 28 | + <section class="showcase"> |
| 29 | + <a class="showcase-link glightbox" href="/assets/images/mountain.png" data-type="image" data-width="100%" data-height="auto" data-desc-position="bottom" data-gallery="showcase"><img alt="Image title" src="/assets/images/mountain.png"></a> |
| 30 | + <a class="showcase-link glightbox" href="/assets/images/sequence.png" data-type="image" data-width="100%" data-height="auto" data-desc-position="bottom" data-gallery="showcase"><img alt="Image title" src="/assets/images/sequence.png"></a> |
| 31 | + <a class="showcase-link glightbox" href="/assets/images/silk.png" data-type="image" data-width="100%" data-height="auto" data-desc-position="bottom" data-gallery="showcase"><img alt="Image title" src="/assets/images/silk.png"></a> |
| 32 | + <a class="showcase-link glightbox" href="/assets/images/leaves.png" data-type="image" data-width="100%" data-height="auto" data-desc-position="bottom" data-gallery="showcase"><img alt="Image title" src="/assets/images/leaves.png"></a> |
| 33 | + </section> |
| 34 | + </div> |
| 35 | + </div> |
| 36 | + |
| 37 | + |
| 38 | + <!-- Link to previous and/or next page --> |
| 39 | + {% if "navigation.footer" in features %} |
| 40 | + {% if page.previous_page or page.next_page %} |
| 41 | + {% if page.meta and page.meta.hide %} |
| 42 | + {% set hidden = "hidden" if "footer" in page.meta.hide %} |
| 43 | + {% endif %} |
| 44 | + <nav |
| 45 | + class="md-footer__inner md-grid" |
| 46 | + aria-label="{{ lang.t('footer') }}" |
| 47 | + {{ hidden }} |
| 48 | + > |
| 49 | + |
| 50 | + <!-- Link to previous page --> |
| 51 | + {% if page.previous_page %} |
| 52 | + {% set direction = lang.t("footer.previous") %} |
| 53 | + <a |
| 54 | + href="{{ page.previous_page.url | url }}" |
| 55 | + class="md-footer__link md-footer__link--prev" |
| 56 | + aria-label="{{ direction }}: {{ page.previous_page.title | e }}" |
| 57 | + > |
| 58 | + <div class="md-footer__button md-icon"> |
| 59 | + {% set icon = config.theme.icon.previous or "material/arrow-left" %} |
| 60 | + {% include ".icons/" ~ icon ~ ".svg" %} |
| 61 | + </div> |
| 62 | + <div class="md-footer__title"> |
| 63 | + <span class="md-footer__direction"> |
| 64 | + {{ direction }} |
| 65 | + </span> |
| 66 | + <div class="md-ellipsis"> |
| 67 | + {{ page.previous_page.title }} |
| 68 | + </div> |
| 69 | + </div> |
| 70 | + </a> |
| 71 | + {% endif %} |
| 72 | + |
| 73 | + <!-- Link to next page --> |
| 74 | + {% if page.next_page %} |
| 75 | + {% set direction = lang.t("footer.next") %} |
| 76 | + <a |
| 77 | + href="{{ page.next_page.url | url }}" |
| 78 | + class="md-footer__link md-footer__link--next" |
| 79 | + aria-label="{{ direction }}: {{ page.next_page.title | e }}" |
| 80 | + > |
| 81 | + <div class="md-footer__title"> |
| 82 | + <span class="md-footer__direction"> |
| 83 | + {{ direction }} |
| 84 | + </span> |
| 85 | + <div class="md-ellipsis"> |
| 86 | + {{ page.next_page.title }} |
| 87 | + </div> |
| 88 | + </div> |
| 89 | + <div class="md-footer__button md-icon"> |
| 90 | + {% set icon = config.theme.icon.next or "material/arrow-right" %} |
| 91 | + {% include ".icons/" ~ icon ~ ".svg" %} |
| 92 | + </div> |
| 93 | + </a> |
| 94 | + {% endif %} |
| 95 | + </nav> |
| 96 | + {% endif %} |
| 97 | + {% endif %} |
| 98 | + |
| 99 | + <!-- Further information --> |
| 100 | + <div class="md-footer-meta md-typeset"> |
| 101 | + <div class="md-footer-meta__inner md-grid"> |
| 102 | + {% include "partials/copyright.html" %} |
| 103 | + |
| 104 | + <!-- Social links --> |
| 105 | + {% if config.extra.social %} |
| 106 | + {% include "partials/social.html" %} |
| 107 | + {% endif %} |
| 108 | + </div> |
| 109 | + </div> |
| 110 | + </footer> |
0 commit comments