Commit acbe19f1 authored by maneesha sane's avatar maneesha sane
Browse files

hides old lesson guide

parent 2feb427f
......@@ -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/).
......
......@@ -15,6 +15,8 @@
{% endfor %}
{% assign current = site.start_time %}
<table class="table table-striped">
<tr>
{% if multiday %}<td class="col-md-1"></td>{% endif %}
......@@ -22,7 +24,11 @@
<td class="col-md-3"><a href="{{ relative_root_path }}{% link setup.md %}">Setup</a></td>
<td class="col-md-7">Download files required for the lesson</td>
</tr>
{% 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 @@
</td>
</tr>
{% 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 @@
</tr>
</table>
<p>
The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.
</p>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment