<div class="reveal" id="reveal">
<div class="slides">
{% for ch in page.chapters %}
-
- <!--Nest all chapter's content. Chapters traverse left-right; Sections slide up-down-->
-
-
- {% for section in site.tags[ch] reversed %}
-
- {% assign is_first = forloop.first %}
- {% assign is_last = forloop.last %}
- {% assign cur_ch = section.chapter %}
-
-
- {% for tag in section.tags %}
-
-
-
-
-
- {% if tag contains "diagram" %}
-
- {% if is_first %}
- </section>
- <section>
- {% endif %}
-
- {% if is_first %}
- {% if section.cover != false %}
- {% include hydeslides/revealjs/slide-open-chapter %}
- <h1>{{ section.chapter }}</h1>
-
-
-
- {% include hydeslides/revealjs/slide-close %}
- {% assign is_first = false %}
- {% endif %}
- {% endif %}
-
- {% include hydeslides/revealjs/slide-open %}
- <h1 {% if section.heading == false %}class="hidden"{% endif %}>{{ section.chapter }}</h1>
- <h2 {% if section.heading == false %}class="hidden"{% endif %}>{{ section.title }}</h2>
- <div class="clear-all"></div>
- {{ section.content }}
- {% include hydeslides/revealjs/slide-close %}
-
-
- {% if is_last %}
- {% include hydeslides/revealjs/slide-open %}
- Last slide
- {% include hydeslides/revealjs/slide-close %}
- {% endif %}
-
- {% endif %}
-
-
- {% endfor %}
- {% endfor %}
-
-
-
+ {% for section in site.tags[ch] reversed %}
+ {% for tag in section.tags %}
+ {% if tag contains "diagram" %}
+ {% include hydeslides/revealjs/slide-open %}
+ <h1 {% if section.heading == false %}class="hidden"{% endif %}>{{ section.chapter }}</h1>
+ <h2 {% if section.heading == false %}class="hidden"{% endif %}>{{ section.title }}</h2>
+ <div class="clear-all"></div>
+ {{ section.content }}
+ {% include hydeslides/revealjs/slide-close %}
+ {% endif %}
+ {% endfor %}
+ {% endfor %}
{% endfor %}
</div>
</div>