From 22c7d2cfa31d83eb81c5ab397e287c2212691e71 Mon Sep 17 00:00:00 2001 From: mattkae Date: Sun, 22 Jan 2023 18:59:38 -0500 Subject: WIP on Wind Fields, and updated resume --- _posts/plato_2.html | 4 ++++ _posts/postList.js | 16 ++++++++++++++++ _posts/processPosts.js | 14 +------------- 3 files changed, 21 insertions(+), 13 deletions(-) create mode 100644 _posts/plato_2.html create mode 100644 _posts/postList.js (limited to '_posts') diff --git a/_posts/plato_2.html b/_posts/plato_2.html new file mode 100644 index 0000000..25ceec6 --- /dev/null +++ b/_posts/plato_2.html @@ -0,0 +1,4 @@ +

Introduction

+

+ Continuing in my reading of A Plato Reader: Eight Essential Dialogues, I recently came across Phaedo. +

\ No newline at end of file diff --git a/_posts/postList.js b/_posts/postList.js new file mode 100644 index 0000000..bc0f919 --- /dev/null +++ b/_posts/postList.js @@ -0,0 +1,16 @@ +module.exports = [ + { + 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" ] + }, + { + url: "_posts/plato2.html", + title: "Phaedo: Death and the Soul" + } +]; diff --git a/_posts/processPosts.js b/_posts/processPosts.js index 47b757c..2bd6ff1 100644 --- a/_posts/processPosts.js +++ b/_posts/processPosts.js @@ -2,6 +2,7 @@ const fs = require('fs'); const path = require('path'); +const posts = require('./postList'); const tags = [ { @@ -22,19 +23,6 @@ const tags = [ } ] -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" ] - } -]; - function createTagFile(tag) { const dir = path.resolve(path.join(__dirname, '..', 'posts')); -- cgit v1.2.1