summaryrefslogtreecommitdiff
path: root/_posts/processPosts.js
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2022-12-23 12:20:58 -0500
committermattkae <mattkae@protonmail.com>2022-12-23 12:20:58 -0500
commit4ac5e377a8ff514180082d92b38369a920ef02d1 (patch)
treeaaca942855069bd2aeb709dcd9e1000132d99f43 /_posts/processPosts.js
parente8504a410ae7aaabcfb63d72681537c854d34e02 (diff)
parent3d9cec63ca208d8e2fde49cfaaa5508f8b1dcf09 (diff)
Merge branch 'master' into feature/winter_2022
Diffstat (limited to '_posts/processPosts.js')
-rw-r--r--_posts/processPosts.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/_posts/processPosts.js b/_posts/processPosts.js
index 15cf4e5..47b757c 100644
--- a/_posts/processPosts.js
+++ b/_posts/processPosts.js
@@ -27,6 +27,11 @@ const posts = [
url: "_posts/hello_world.html",
title: "Hello, World!",
tags: [ "personal" ]
+ },
+ {
+ url: "_posts/plato_1.html",
+ title: "Euthyphro: the pious and the god-loved",
+ tags: [ "books" ]
}
];
@@ -138,7 +143,7 @@ function createPostPage(outputFile, postFilter) {
<section>
<h2>Posts</h2>
<ul id='post_list'>
- ${posts.filter(post => !postFilter || post.tags.includes(postFilter)).map(createPostLink)}
+ ${posts.filter(post => !postFilter || post.tags.includes(postFilter)).map(createPostLink).join('')}
</ul>
</section>
</body>