summaryrefslogtreecommitdiff
path: root/mkdocs-material/src/footer.html
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2016-07-24 19:13:40 -0400
committerJordan Wiens <jordan@psifertex.com>2016-07-24 19:13:40 -0400
commitb1900d6ebcc39738885f90fa9f18b28206a74947 (patch)
tree2d4975fe0a347af7101200c48e4a8df82ca780ae /mkdocs-material/src/footer.html
parent754ea372c66afad144988fcab2d7cf1fdbb3f2fc (diff)
very early checkin of template for user-docs, only a few pages filled out
Diffstat (limited to 'mkdocs-material/src/footer.html')
-rw-r--r--mkdocs-material/src/footer.html48
1 files changed, 48 insertions, 0 deletions
diff --git a/mkdocs-material/src/footer.html b/mkdocs-material/src/footer.html
new file mode 100644
index 00000000..01251554
--- /dev/null
+++ b/mkdocs-material/src/footer.html
@@ -0,0 +1,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 %} \ No newline at end of file