forked from microsoft/aroworkshop
-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
28 lines (26 loc) · 872 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
layout: index
title: index
---
{% assign entries = site.entries | sort: "number" %}
{% for entry in entries %}
{% if entry.title != 'index'%}
<section id="{{ entry.sectionid }}" class="{{ entry.sectionclass }}">
{% case entry.sectionclass %}
{% when 'h1' %}
{% if entry.type == 'nocount'%}
<h1 class="nocount">{{ entry.title }}</h1>
{% else %}
<h1>{{ entry.title }}</h1>
{% endif %}
{% when 'h2' %}
<h2>{{ entry.title }}</h2>
{% when 'h3' %}
<h3>{{ entry.title }}</h3>
{% when 'h4' %}
<h4>{{ entry.title }}</h4>
{% endcase %}
{{ entry.content }}
</section>
{% endif %}
{% endfor %}