diff --git a/cache/lastCache.txt b/cache/lastCache.txt index 66d6729..8fdfb9d 100644 --- a/cache/lastCache.txt +++ b/cache/lastCache.txt @@ -1 +1 @@ -1571553470 \ No newline at end of file +1571554673 \ No newline at end of file diff --git a/themes/typemill/chapter.twig b/themes/typemill/chapter.twig index 830b8f2..745a331 100644 --- a/themes/typemill/chapter.twig +++ b/themes/typemill/chapter.twig @@ -21,7 +21,7 @@ diff --git a/themes/typemill/partials/navigationCover.twig b/themes/typemill/partials/navigationCover.twig index 9672186..9ec4ccf 100644 --- a/themes/typemill/partials/navigationCover.twig +++ b/themes/typemill/partials/navigationCover.twig @@ -1,4 +1,4 @@ -{% macro loop_over(navigation) %} +{% macro loop_over(navigation,chapnum) %} {% import _self as macros %} @@ -11,12 +11,12 @@
  • {% endif %} {% if element.elementType == 'folder' and element.keyPathArray|length == 1 %} - {{ element.name }} + {% if chapnum %}{{ element.chapter }}. {% endif %}{{ element.name }} {% else %} - {{ element.name }} + {% if chapnum %}{{ element.chapter }} {% endif %}{{ element.name }} {% endif %}
  • {% endfor %} @@ -25,5 +25,5 @@ {% import _self as macros %} \ No newline at end of file