-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (37 loc) · 1.06 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
---
layout: default
scripts:
- "script.js"
---
<h1 id="title" class="color-blue">blog.matiboux.me ∕∕∕</h1>
<div class="posts">
{% if site.posts.size > 0 %}
{% for post in site.posts %}
<div class="post">
<h4 class="title">› <a href="{{ post.url }}">{{ post.title }}</a></h4>
<p class="metadata date">
<i class="fas fa-calendar-day fa-fw"></i>
{{ post.date | date: "%B %e, %Y" }}
</p>
{% if post.categories != empty %}
<p class="metadata categories">
<i class="fas fa-quote-left fa-fw"></i>
<span>{{ post.categories | join: "</span> <span>" }}</span>
</p>
{% endif %}
{% if post.tags != empty %}
<p class="metadata tags">
<i class="fas fa-tag fa-fw"></i>
<span>{{ post.tags | join: "</span> <span>" }}</span>
</p>
{% endif %}
<div class="excerpt">
{{ post.excerpt }}
<p class="click-read"><a href="{{ post.url }}">[ click to read ]</a></p>
</div>
</div>
{% endfor %}
{% else %}
<p>There are no posts published yet. Hopefully soon!</p>
{% endif %}
</div>