-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
40 lines (33 loc) · 887 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
38
39
40
---
layout: default
---
<div class="row">
<div class="col">
{% for post in paginator.posts %}
{% assign minutes = post.content | strip_html | number_of_words | divided_by: 180 %}
{% if minutes == 0 %}
{% assign minutes = 1 %}
{% endif %}
<div class="mb-4">
<a href="{{ post.url | prepend: site.baseurl }}" class="nocolor">
<h2>{{ post.title }}</h2>
</a>
<div>
{{ post.content }}
</div>
<div class="meta text-muted">
{{ post.date | date_to_long_string }},
<span>
<i class="fa fa-clock-o ml-1" aria-hidden="true"></i> {{ minutes }} min
</span>
/
<a href="{{ post.url | prepend: site.baseurl }}">
permalink
</a>
</div>
</div>
<hr>
{% endfor %}
</div>
</div>
</div>