From 83f1ac6dafe49ce03c365400ead149a0d353960b Mon Sep 17 00:00:00 2001 From: trendschau Date: Sun, 20 Oct 2019 11:59:42 +0200 Subject: [PATCH] version 1.6.0 footnotes and search --- cache/lastCache.txt | 2 +- themes/typemill/chapter.twig | 2 +- themes/typemill/partials/navigationCover.twig | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) 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