diff --git a/templates/includes/book/footer.html b/templates/includes/book/footer.html new file mode 100644 index 000000000..48f4bf90f --- /dev/null +++ b/templates/includes/book/footer.html @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/templates/includes/book/progress.html b/templates/includes/book/progress.html new file mode 100644 index 000000000..d0e31930a --- /dev/null +++ b/templates/includes/book/progress.html @@ -0,0 +1,10 @@ +
+
+
+
+
+ {% for p in progress.chapters %} + + {% endfor %} +
+
\ No newline at end of file diff --git a/templates/page.html b/templates/page.html index e726c956d..b5595f010 100644 --- a/templates/page.html +++ b/templates/page.html @@ -7,16 +7,7 @@ {% include "includes/book/summary.html" %}
-
-
-
-
-
- {% for p in progress.chapters %} - - {% endfor %} -
-
+ {% include "includes/book/progress.html" %}
{% for section in content %} @@ -30,21 +21,7 @@ {% endfor %}
- + {% include "includes/book/footer.html" %}