summaryrefslogtreecommitdiffstats
path: root/theme
diff options
context:
space:
mode:
Diffstat (limited to 'theme')
-rw-r--r--theme/templates/includes/book/footer.html18
1 files changed, 10 insertions, 8 deletions
diff --git a/theme/templates/includes/book/footer.html b/theme/templates/includes/book/footer.html
index 1112b14..65c08de 100644
--- a/theme/templates/includes/book/footer.html
+++ b/theme/templates/includes/book/footer.html
@@ -1,15 +1,17 @@
<div class="page-footer">
- {% if _input == "README.md" %}
- <a href="{{ basePath }}/{{ progress.current.next.path|mdLink }}" class="navigation-link">Start</a>
- {% else %}
- {% if progress.current.next %}
- {% if progress.current.next.path %}
- <a href="{{ basePath }}/{{ progress.current.next.path|mdLink }}" class="navigation-link next">Next</a>
+ {% if progress.current.next %}
+ {% if progress.current.next.path %}
+ <a href="{{ basePath }}/{{ progress.current.next.path|mdLink }}" class="navigation-link next">
+ {% if _input == "README.md" %}
+ Start
{% else %}
- <div class="navigation-link coming-soon">Coming soon</div>
+ Next
{% endif %}
+ </a>
{% else %}
- <div class="navigation-link finished">Finished!</div>
+ <div class="navigation-link coming-soon">Coming soon</div>
{% endif %}
+ {% else %}
+ <div class="navigation-link finished">Finished!</div>
{% endif %}
</div> \ No newline at end of file