-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathindex.html
37 lines (30 loc) · 808 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
29
30
31
32
33
34
35
36
37
---
layout: default
---
<div class="home">
<h1 class="page-heading">Tutorials</h1>
<ul class="post-list">
{% for post in site.pages %}
{% if post.layout == 'tutorial' and post.is_overview %}
<li>
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
<p>{{ post.description }}</p>
</li>
{% endif %}
{% endfor %}
</ul>
<h1 class="page-heading">Explanations</h1>
<ul class="post-list">
{% for post in site.pages %}
{% if post.layout == 'explanation' %}
<li>
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
</li>
{% endif %}
{% endfor %}
</ul>
</div>