summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-02-21 19:41:38 +0100
committerSamy Pessé <samypesse@gmail.com>2016-02-21 19:41:38 +0100
commitd139d1d1bd65e3dd0eff2987f355bb16d8c24058 (patch)
tree619a68cf5f93a2a26502ce5f7347274e8b11fda0 /docs
parenta186544fadf040bc2b4c83dfe41b6bd2a482c5a1 (diff)
downloadgitbook-d139d1d1bd65e3dd0eff2987f355bb16d8c24058.zip
gitbook-d139d1d1bd65e3dd0eff2987f355bb16d8c24058.tar.gz
gitbook-d139d1d1bd65e3dd0eff2987f355bb16d8c24058.tar.bz2
Add "template.theme" and "template.default" variables
Diffstat (limited to 'docs')
-rw-r--r--docs/_layouts/website/page.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/_layouts/website/page.html b/docs/_layouts/website/page.html
new file mode 100644
index 0000000..edce251
--- /dev/null
+++ b/docs/_layouts/website/page.html
@@ -0,0 +1,14 @@
+{% extends template.theme %}
+
+{% block page %}
+{{ super() }}
+<hr>
+<div class="btn-group btn-group-justified">
+ {% if page.previous and page.previous.path %}
+ <a class="btn" href="{{ page.previous.path|resolveFile }}"><b>Previous:</b> {{ page.previous.title }}</a>
+ {% endif %}
+ {% if page.next and page.next.path %}
+ <a class="btn" href="{{ page.next.path|resolveFile }}"><b>Next:</b> {{ page.next.title }}</a>
+ {% endif %}
+</div>
+{% endblock %}