-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.html
33 lines (30 loc) · 818 Bytes
/
blog.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
---
title: Blog
layout: default
---
<h1>Blog</h1>
{% for category in site.categories %}
{% if category[0] != "rough" %}
<h3>{{ category[0] | capitalize }}</h3>
<ul>
{% for post in category[1] %}
{% unless post.categories contains "rough" %}
{% include post-li.html %}
{% endunless %}
{% endfor %}
</ul>
{% endif %}
{% endfor %}
{% if site.categories contains "rough" %}
<h3>Rough</h3>
<p>
The following posts are in a rough state and are subject to change - they
may eventually move out of the 'rough' category. Feel free to add comments,
but if comments go out of date as the post is updated they may be deleted.
</p>
<ul>
{% for post in site.categories["rough"] %}
{% include post-li.html %}
{% endfor %}
</ul>
{% endif %}