diff options
Diffstat (limited to 'docs/_layouts/website/page.html')
-rw-r--r-- | docs/_layouts/website/page.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/_layouts/website/page.html b/docs/_layouts/website/page.html new file mode 100644 index 0000000..a673a48 --- /dev/null +++ b/docs/_layouts/website/page.html @@ -0,0 +1,23 @@ +{% extends template.theme %} + +{% block header_nav %} +<a href="https://github.com/GitbookIO/gitbook/blob/master/docs/{{ file.path }}" target="_blank" class="btn btn-link pull-right hidden-xs"> + <i class="octicon octicon-mark-github"></i> Edit on GitHub +</a> +<a href="https://github.com/GitbookIO/gitbook/blob/master/CHANGES.md" target="_blank" class="btn btn-link pull-right hidden-xs"> + {{ book.version }} +</a> +{% endblock %} + +{% 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 %} |