From acbe19f11b1afa0ccda3ab8c090b32e663cb4088 Mon Sep 17 00:00:00 2001 From: maneesha sane Date: Tue, 2 Apr 2019 11:05:45 -0400 Subject: [PATCH] hides old lesson guide --- _episodes/01-design.md | 2 ++ _includes/syllabus.html | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/_episodes/01-design.md b/_episodes/01-design.md index 809ba29..fcd87af 100644 --- a/_episodes/01-design.md +++ b/_episodes/01-design.md @@ -4,6 +4,8 @@ redirect_to: - https://carpentries.github.io/curriculum-development/ questions: - "How do we design lessons?" +hidden: True + --- Visit our [new curriculum development guide](https://carpentries.github.io/curriculum-development/). diff --git a/_includes/syllabus.html b/_includes/syllabus.html index 2bc607e..fd8c861 100644 --- a/_includes/syllabus.html +++ b/_includes/syllabus.html @@ -15,6 +15,8 @@ {% endfor %} {% assign current = site.start_time %} + + {% if multiday %}{% endif %} @@ -22,7 +24,11 @@ + {% for episode in site.episodes %} + + {% unless episode.hidden %} + {% if episode.start %} {% comment %} Starting a new day? {% endcomment %} {% assign day = day | plus: 1 %} {% if day > 1 %} {% comment %} If about to start day 2 or later, show finishing time for previous day {% endcomment %} @@ -62,6 +68,9 @@ {% assign current = current | plus: episode.teaching | plus: episode.exercises | plus: episode.break %} + + {% endunless %} + {% endfor %} {% assign hours = current | divided_by: 60 %} {% assign minutes = current | modulo: 60 %} @@ -73,6 +82,7 @@
Setup Download files required for the lesson
+

The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.

-- GitLab