-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (54 loc) · 1.64 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
layout: master
title: Devlog
---
<h1>{{site.title}}</h1>
<div class='posts'>
{% for post in site.posts %}
{% assign current_series = post.series %}
{% assign next_series = post.previous.series %}
{% if forloop.first %}
<h3>{{current_series}}</h3>
<span class='post-date'>{{ post.date | date_to_string }}</span>
{% if post.previous and current_series == next_series %}
{% assign ordered = true %}
<ol>
{% else %}
{% assign ordered = false %}
<ul>
{% endif %}
{% endif %}
<li>
<h5 class='post-title'><a href='{{ post.url }}'>{{ post.title }}</a></h5>
</li>
{% if forloop.last %}
{% if ordered %}
</ol>
{% else %}
</ul>
{% endif %}
{% else %}
{% if current_series != next_series %}
{% if ordered %}
</ol>
{% else %}
</ul>
{% endif %}
<h3>{{next_series}}</h3>
<span class='post-date'>{{ post.date | date_to_string }}</span>
{% if post.previous.previous and next_series == post.previous.previous.series %}
{% assign ordered = true %}
<ol>
{% else %}
{% assign ordered = false %}
<ul>
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
</div>
<hr />
<div id='about'>
<!-- <a href='/about'>About this site.</a> -->
This site is made with <a href='https://jekyllrb.com'>Jekyll</a> and uses a modified <a href='http://code.mendhak.com/BlackDoc'>BlackDoc</a> theme.
</div>