diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-03-31 17:17:34 -0700 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-03-31 17:17:34 -0700 |
commit | ce3e1030248e07bca2d4112b5754bdbca20a5229 (patch) | |
tree | 1f1e8a989cd74c6bc67a2f6867da83ca387f50a7 /templates | |
parent | 8ecaeb86f9c530cdf38ee7026c2f91bae57c0d0f (diff) | |
download | gitbook-ce3e1030248e07bca2d4112b5754bdbca20a5229.zip gitbook-ce3e1030248e07bca2d4112b5754bdbca20a5229.tar.gz gitbook-ce3e1030248e07bca2d4112b5754bdbca20a5229.tar.bz2 |
Add navigation parsed in footer
Diffstat (limited to 'templates')
-rw-r--r-- | templates/page.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/page.html b/templates/page.html index 270cd54..5a8d422 100644 --- a/templates/page.html +++ b/templates/page.html @@ -25,13 +25,13 @@ <div class="page-footer"> <div class="navigation"> {% if _input == "README.md" %} - <a href="{{ navigation.next.path }}" class="navigation-link">Start this book</a> + <a href="{{ basePath }}/{{ navigation.next.path }}" class="navigation-link">Start this book</a> {% else %} {% if navigation.prev %} - <a href="{{ navigation.prev.path }}" class="navigation-link"><i class="fa fa-chevron-left"></i> {{ navigation.prev.title }}</a> + <a href="{{ basePath }}/{{ navigation.prev.path }}" class="navigation-link"><i class="fa fa-chevron-left"></i> {{ navigation.prev.title }}</a> {% endif %} {% if navigation.next %} - <a href="{{ navigation.next.path }}" class="navigation-link">{{ navigation.next.title }} <i class="fa fa-chevron-right"></i></a> + <a href="{{ basePath }}/{{ navigation.next.path }}" class="navigation-link">{{ navigation.next.title }} <i class="fa fa-chevron-right"></i></a> {% endif %} {% endif %} </div> |