summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/layout.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/layout.html b/templates/layout.html
index 9be2829..8d2a02f 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -12,6 +12,13 @@
<meta name="keywords" content="gitbook,github" >
<meta name="generator" content="www.gitbook.io">
+ {% if progress.current.next and progress.current.next.path %}
+ <link rel="next" href="{{ basePath }}/{{ progress.current.next.path }}" />
+ {% endif %}
+ {% if progress.current.prev and progress.current.prev.path %}
+ <link rel="prev" href="{{ basePath }}/{{ progress.current.prev.path }}" />
+ {% endif %}
+
<meta property="og:title" content="{% block title %} | {{ title }}{% endblock %}">
<meta property="og:site_name" content="{{ title }}">
<meta property="og:type" content="book">