-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (35 loc) · 733 Bytes
/
index.html
File metadata and controls
39 lines (35 loc) · 733 Bytes
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
---
layout: layout.html
title: Small dose of nothing
css: |
h2 {
font-size: 1rem;
font-weight: normal;
}
h2 > time {
display: inline-block;
color: light-dark(#000, #fff);
background-color: var(--rev-c);
font-size: 0.8rem;
padding: 0.1rem;
border-radius: 0.1rem;
}
aside {
text-align: center;
font-style: italic;
}
---
<header>
<h1>{{ titlehtml | raw | default: title }}</h1>
</header>
<main>
<aside><a href="/news">Prefer newspapers?</a></aside>
{% for post in collections.post reversed %}
<h2>
<time>{{post.date | dateDisplay}}</time>
<a href="{{ post.url }}"
>{{ post.data.titlehtml | default: post.data.title }}</a
>
</h2>
{% endfor %}
</main>