-
Notifications
You must be signed in to change notification settings - Fork 99
/
index.html
executable file
·61 lines (56 loc) · 2.21 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
---
layout: default
title: Home
---
{% for post in site.posts limit:1 %}
<div class="xs-12 imgBack link textCenter vertCenter grow tall" style='background-image: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1) ), url({{ site.url }}/assets/img/{{ post.thumbnail }})'>
<div>
<a class='caps post-title' href='{{ post.url }}'>{{ post.title }}</a>
<p class='meta'>{{ post.date | date_to_long_string }} / by {{ post.author }}</p>
</div>
</div>
{% endfor %}
<div class='flexbox wrap'>
{% for post in site.posts limit:2 offset:1 %}
<div class="sm-6 imgBack link vertCenter textCenter grow short" style='background-image: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1) ), url({{ site.url }}/assets/img/{{ post.thumbnail }})'>
<div>
<a class='caps post-title' href='{{ post.url }}'>{{ post.title }}</a>
<p class='meta'>{{ post.date | date_to_long_string }} / by {{ post.author }}</p>
</div>
</div>
{% endfor %}
</div>
<div class='divider xs-12 grow'></div>
<div class='flexbox'>
{% for post in site.posts limit:2 offset:3 %}
<div class="sm-6 textPreview vertCenter grow short">
<div>
<a class='caps post-title' href='{{ post.url }}'>{{ post.title }}</a>
<p>{{ post.excerpt }}</p>
<p class='meta'>{{ post.date | date_to_long_string }} / by {{ post.author }}</p>
</div>
</div>
{% endfor %}
</div>
<div class='flexbox wrap'>
{% for post in site.posts limit:3 offset:5 %}
<div class="sm-4 imgBack link vertCenter textCenter grow" style='background-image: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1) ), url({{ site.url }}/assets/img/{{ post.thumbnail }})'>
<div>
<a class='caps post-title' href='{{ post.url }}'>{{ post.title }}</a>
<p class='meta'>{{ post.date | date_to_long_string }} / by {{ post.author }}</p>
</div>
</div>
{% endfor %}
</div>
<div class='divider xs-12 grow'></div>
<div class='flexbox'>
{% for post in site.posts limit:2 offset:8 %}
<div class="sm-6 textPreview vertCenter grow short">
<div>
<a class='caps post-title' href='{{ post.url }}'>{{ post.title }}</a>
<p>{{ post.excerpt }}</p>
<p class='meta'>{{ post.date | date_to_long_string }} / by {{ post.author }}</p>
</div>
</div>
{% endfor %}
</div>