summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/page.html9
1 files changed, 3 insertions, 6 deletions
diff --git a/templates/page.html b/templates/page.html
index b257da0..ffebbfd 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -33,18 +33,15 @@
</div>
<div class="page-footer">
- <div class="navigation">
{% if _input == "README.md" %}
<a href="{{ basePath }}/{{ navigation.next.path }}" class="navigation-link">Start this book</a>
{% else %}
- {% if navigation.prev %}
- <a href="{{ basePath }}/{{ navigation.prev.path }}" class="navigation-link prev"><i class="fa fa-chevron-left"></i> <span>{{ navigation.prev.title }}</span></a>
- {% endif %}
{% if navigation.next %}
- <a href="{{ basePath }}/{{ navigation.next.path }}" class="navigation-link next"><span>{{ navigation.next.title }}</span> <i class="fa fa-chevron-right"></i></a>
+ <a href="{{ basePath }}/{{ navigation.next.path }}" class="navigation-link next">Next: <span>{{ navigation.next.title }}</span></a>
+ {% else %}
+ <div class="navigation-link finished">Finished!</div>
{% endif %}
{% endif %}
- </div>
</div>
</div>
</div>