From 9fcc70b951f1bef7291f4d80965d71cc0857fb17 Mon Sep 17 00:00:00 2001 From: Julien Richard-Foy Date: Wed, 17 Jul 2019 10:37:28 +0200 Subject: [PATCH] Highlight the current page in the TOC of a multipage overview --- _includes/sidebar-toc-multipage-overview.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/sidebar-toc-multipage-overview.html b/_includes/sidebar-toc-multipage-overview.html index 8d2e419efc..c19f124c70 100644 --- a/_includes/sidebar-toc-multipage-overview.html +++ b/_includes/sidebar-toc-multipage-overview.html @@ -12,11 +12,11 @@
Contents
{% assign localizedId = pg.id | prepend: prefix %} {% for lpg in site.[page.language] %} {% if lpg.id == localizedId %} -
  • {{ lpg.title }}
  • +
  • {{ lpg.title }}
  • {% endif %} {% endfor %} {% else %} -
  • {{ pg.title }}
  • +
  • {{ pg.title }}
  • {% endif %} {% if pg.num == page.num %}
    {% endif %} {% endif %}