-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (34 loc) · 871 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
---
layout: default
---
<header class="masthead">
<h1 class="masthead-title">
<a href="{{ site.baseurl }}/">{{ site.name }}<span></span></a>
</h1>
<span>{{ site.description }}</span>
<nav class="masthead-nav">
{% for nav in site.nav %}
{% if nav.remote %}
<a href="{{ nav.href }}">{{ nav.name }}</a>
{% else %}
<a href="{{ site.baseurl }}/{{ nav.localpath }}">{{ nav.name }}</a>
{% endif %}
{% endfor %}
</nav>
</header>
<div class="content list">
{% if site.posts.size == 0 %}
<h2>No post found</h2>
{% else %}
{% for post in site.posts %}
<div class="list-item">
<h2 class="list-post-title">
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
</h2>
<div class="list-post-date">
<time>{{ post.date | date_to_string }}</time>
</div>
</div>
{% endfor %}
{% endif %}
</div>