summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/page.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/page.html b/templates/page.html
index ffebbfd..424eded 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -37,7 +37,11 @@
<a href="{{ basePath }}/{{ navigation.next.path }}" class="navigation-link">Start this book</a>
{% else %}
{% if navigation.next %}
- <a href="{{ basePath }}/{{ navigation.next.path }}" class="navigation-link next">Next: <span>{{ navigation.next.title }}</span></a>
+ {% if navigation.next.path %}
+ <a href="{{ basePath }}/{{ navigation.next.path }}" class="navigation-link next">Next<span>: {{ navigation.next.title }}</span></a>
+ {% else %}
+ <div class="navigation-link coming-soon">Coming soon</div>
+ {% endif %}
{% else %}
<div class="navigation-link finished">Finished!</div>
{% endif %}