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

hides old lesson guide

parent 2feb427f
...@@ -4,6 +4,8 @@ redirect_to: ...@@ -4,6 +4,8 @@ redirect_to:
- https://carpentries.github.io/curriculum-development/ - https://carpentries.github.io/curriculum-development/
questions: questions:
- "How do we design lessons?" - "How do we design lessons?"
hidden: True
--- ---
Visit our [new curriculum development guide](https://carpentries.github.io/curriculum-development/). Visit our [new curriculum development guide](https://carpentries.github.io/curriculum-development/).
......
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
{% endfor %} {% endfor %}
{% assign current = site.start_time %} {% assign current = site.start_time %}
<table class="table table-striped"> <table class="table table-striped">
<tr> <tr>
{% if multiday %}<td class="col-md-1"></td>{% endif %} {% if multiday %}<td class="col-md-1"></td>{% endif %}
...@@ -22,7 +24,11 @@ ...@@ -22,7 +24,11 @@
<td class="col-md-3"><a href="{{ relative_root_path }}{% link setup.md %}">Setup</a></td> <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> <td class="col-md-7">Download files required for the lesson</td>
</tr> </tr>
{% for episode in site.episodes %} {% for episode in site.episodes %}
{% unless episode.hidden %}
{% if episode.start %} {% comment %} Starting a new day? {% endcomment %} {% if episode.start %} {% comment %} Starting a new day? {% endcomment %}
{% assign day = day | plus: 1 %} {% assign day = day | plus: 1 %}
{% if day > 1 %} {% comment %} If about to start day 2 or later, show finishing time for previous day {% endcomment %} {% if day > 1 %} {% comment %} If about to start day 2 or later, show finishing time for previous day {% endcomment %}
...@@ -62,6 +68,9 @@ ...@@ -62,6 +68,9 @@
</td> </td>
</tr> </tr>
{% assign current = current | plus: episode.teaching | plus: episode.exercises | plus: episode.break %} {% assign current = current | plus: episode.teaching | plus: episode.exercises | plus: episode.break %}
{% endunless %}
{% endfor %} {% endfor %}
{% assign hours = current | divided_by: 60 %} {% assign hours = current | divided_by: 60 %}
{% assign minutes = current | modulo: 60 %} {% assign minutes = current | modulo: 60 %}
...@@ -73,6 +82,7 @@ ...@@ -73,6 +82,7 @@
</tr> </tr>
</table> </table>
<p> <p>
The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor. The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.
</p> </p>
......
Supports Markdown
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