-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (31 loc) · 870 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
cover: false
---
<header>
<h1>{{ site.name }}</h1>
</header>
<hr class="stylish"/>
<main class="home-main">
{% for collection in site.collections %}
{% if collection.docs.size > 0 %}
<section id="posts">
<details {% if collection.default_open %}open{% endif %}>
<summary>
<h3 class="home-page-heading">{{ collection.title }}</h3>
</summary>
<div class="parent">
{% for post in collection.docs %}
<div class="post-wrapper">
<time class="post-date" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%m/%Y" }}</time>
<a class="post-link" href="{{ post.url }}">
{{ post.title }}
</a>
</div>
{% endfor %}
</div>
</details>
</section>
{% endif %}
{% endfor %}
</main>