-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.njk
40 lines (36 loc) · 946 Bytes
/
blog.njk
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
---
layout: page.njk
title: 'Perspectives by Daniel R. Dafoe'
description: 'Musings on usability, philosophy, and anything else that grips me.'
eleventyExcludeFromCollections: true
---
<body class="zen blog">
<main class="wrapper">
<div>
<h1>
Perspectives
</h1>
{% set sortedPosts = collections.posts | sortCollection %}
{#
Need to add roles since Safari will remove semantics
due to using `list-style-type: none` 😢
#}
<ul class="latest-perspectives" role="list">
{% for post in sortedPosts %}
<li role="listitem">
<a href="{{ post.url }}">
<span>
{{- post.data.title -}}
</span>
</a>
</li>
{% endfor %}
</ul>
{# <div class="all-perspectives">
<a href="/posts/">
all posts
</a>
</div> #}
</div>
</main>
</body>