-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
29 lines (25 loc) · 890 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
---
layout: default
---
<section class="container">
<ul>
{% for post in site.posts %}
<li class="mb-10">
<div class="flex flex-between">
<div class="flex-no-shrink mb-1 text-soft text-md">{{ post.date | date: "%B %-d, %Y" }}</div>
<div class="text-md text-soft">
{% assign words = post.content | number_of_words %}
{% if words < 200 %}
~1 min read
{% else %}
~{{ words | divided_by:100 }} min read
{% endif %}
</div>
</div>
<a href="{{ post.url | prepend: site.baseurl }}">
<h2>{{ post.title }}</h2>
</a>
</li>
{% endfor %}
</ul>
</section>