From 70213c3841a9a2c0617c7cf4094215cecf7e9119 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Michonneau?= Date: Tue, 11 Aug 2020 16:36:48 +0200 Subject: [PATCH] only display Episodes drop-down if we have episodes to show (#491) --- _includes/navbar.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_includes/navbar.html b/_includes/navbar.html index e406d87..a243a95 100644 --- a/_includes/navbar.html +++ b/_includes/navbar.html @@ -49,6 +49,7 @@
  • Setup
  • {% comment %} Show lesson episodes for lessons. {% endcomment %} + {% if lesson_episodes.length > 0 %} + {% endif %} {% endif %} {% comment %} Show extras for lessons or if this is the main workshop-template repo (where they contain documentation). {% endcomment %} -- 2.30.2