-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
63 lines (63 loc) · 1.66 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
63
---
layout: page
title: "Lucas' Blog and Website"
subtitle: "Sometimes I have a point."
---
<div class="liquid-code">{% increment x %}</div>
<ul class="index-list list-group">
{% for post in site.posts %}
{% if x == 0 %}
<li>
<a href="{{ post.url }}" class="list-group-item post-items light">
<div class="top">
<h2>{{ post.title }}</h2>
</div>
<div class="bottom">
<div class="first">
<h4>{{ post.subtitle }}</h4>
<h6>Posted on {{ post.date | date: '%B %d, %Y' }}</h6>
</div>
<div class="second">
{% for cat in post.category %}
<h1> {{ cat | replace: "-" , " " }}</h1>
{% endfor %}
{% if post.project %}
<h1> {{ post.project | replace: "-" , " " }} </h1>
{% endif %}
{% if post.layout == "old-post" %}
<h1> Old site post</h1>
{% endif %}
</div>
</div>
</a>
</li>
<div class="liquid-code">{% increment x %}</div>
{% else %}
<li>
<a href="{{ post.url }}" class="list-group-item post-items dark">
<div class="top">
<h2>{{ post.title }}</h2>
</div>
<div class="bottom">
<div class="first">
<h4>{{ post.subtitle }}</h4>
<h6>Posted on {{ post.date | date: '%B %d, %Y' }}</h6>
</div>
<div class="second">
{% for cat in post.category %}
<h1> {{ cat | replace: "-" , " " }}</h1>
{% endfor %}
{% if post.project %}
<h1> {{ post.project | replace: "-" , " " }} </h1>
{% endif %}
{% if post.layout == "old-post" %}
<h1> Old site post</h1>
{% endif %}
</div>
</div>
</a>
</li>
<div class="liquid-code">{% decrement x %}</div>
{% endif %}
{% endfor %}
</ul>