summaryrefslogtreecommitdiff
path: root/mkdocs-material/src/footer.html
blob: 01251554198e45df6c9cf2f033582f2728b6e9f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!-- Previous and next page -->
{% if include_next_prev %}
  <nav class="pagination"  aria-label="Footer">

    <!-- Previous page -->
    <div class="previous">
      {% if previous_page %}
        <a href="{{ previous_page.url }}" title="{{ previous_page.title }}">
          <span class="direction">
            {{ config.extra.get("i18n", {}).prev | default("Previous") }}
          </span>
          <div class="page">
            <div class="button button-previous"
              role="button" aria-label="Previous">
              <i class="icon icon-back"></i>
            </div>
            <div class="stretch">
              <div class="title">
                {{ previous_page.title }}
              </div>
            </div>
          </div>
        </a>
      {% endif %}
    </div>

    <!-- Next page -->
    <div class="next">
      {% if next_page %}
        <a href="{{ next_page.url }}" title="{{ next_page.title }}">
          <span class="direction">
            {{ config.extra.get("i18n", {}).next | default("Next") }}
          </span>
          <div class="page">
            <div class="stretch">
              <div class="title">
                {{ next_page.title }}
              </div>
            </div>
            <div class="button button-next" role="button" aria-label="Next">
              <i class="icon icon-forward"></i>
            </div>
          </div>
        </a>
      {% endif %}
    </div>
  </nav>
{% endif %}