|
| 1 | +{#- |
| 2 | +This file was automatically generated - do not edit |
| 3 | +-#} |
| 4 | +{% include "partials/tags.html" %} |
| 5 | +{% include "partials/actions.html" %} |
| 6 | +{% if "\x3ch1" not in page.content %} |
| 7 | +<h1>{{ page.title | d(config.site_name, true)}}</h1> |
| 8 | +{% endif %} |
| 9 | +{{ page.content }} |
| 10 | +{% include "partials/source-file.html" %} |
| 11 | +{% include "partials/feedback.html" %} |
| 12 | +{% include "partials/comments.html" %} |
| 13 | + |
| 14 | +{% if "navigation.footer" in features %} |
| 15 | +{% if page.previous_page or page.next_page %} |
| 16 | +{% if page.meta and page.meta.hide %} |
| 17 | +{% set hidden = "hidden" if "footer" in page.meta.hide %} |
| 18 | +{% endif %} |
| 19 | +<nav class="md-footer__inner" aria-label="{{ lang.t('footer') }}" {{ hidden }}> |
| 20 | + {% if page.previous_page %} |
| 21 | + {% set direction = lang.t("footer.previous") %} |
| 22 | + <a href="{{ page.previous_page.url | url }}" class="md-footer__link md-footer__link--prev" |
| 23 | + aria-label="{{ direction }}: {{ page.previous_page.title | e }}"> |
| 24 | + <div class="md-footer__button md-icon"> |
| 25 | + {% set icon = config.theme.icon.previous or "material/arrow-left" %} |
| 26 | + {% include ".icons/" ~ icon ~ ".svg" %} |
| 27 | + </div> |
| 28 | + <div class="md-footer__title"> |
| 29 | + <span class="md-footer__direction"> |
| 30 | + {{ direction }} |
| 31 | + </span> |
| 32 | + <div class="md-ellipsis"> |
| 33 | + {{ page.previous_page.title }} |
| 34 | + </div> |
| 35 | + </div> |
| 36 | + </a> |
| 37 | + {% endif %} |
| 38 | + {% if page.next_page %} |
| 39 | + {% set direction = lang.t("footer.next") %} |
| 40 | + <a href="{{ page.next_page.url | url }}" class="md-footer__link md-footer__link--next" |
| 41 | + aria-label="{{ direction }}: {{ page.next_page.title | e }}"> |
| 42 | + <div class="md-footer__title"> |
| 43 | + <span class="md-footer__direction"> |
| 44 | + {{ direction }} |
| 45 | + </span> |
| 46 | + <div class="md-ellipsis"> |
| 47 | + {{ page.next_page.title }} |
| 48 | + </div> |
| 49 | + </div> |
| 50 | + <div class="md-footer__button md-icon"> |
| 51 | + {% set icon = config.theme.icon.next or "material/arrow-right" %} |
| 52 | + {% include ".icons/" ~ icon ~ ".svg" %} |
| 53 | + </div> |
| 54 | + </a> |
| 55 | + {% endif %} |
| 56 | +</nav> |
| 57 | +{% endif %} |
| 58 | +{% endif %} |
0 commit comments