diff options
author | mattkae <mattkae@protonmail.com> | 2023-01-22 18:59:38 -0500 |
---|---|---|
committer | mattkae <mattkae@protonmail.com> | 2023-01-22 18:59:38 -0500 |
commit | 22c7d2cfa31d83eb81c5ab397e287c2212691e71 (patch) | |
tree | 38ba6db608beff7cbc1ed476531eb02befd44942 /_posts | |
parent | 64a8d78225e6539ca25374596fe5de44e6252a62 (diff) |
WIP on Wind Fields, and updated resume
Diffstat (limited to '_posts')
-rw-r--r-- | _posts/plato_2.html | 4 | ||||
-rw-r--r-- | _posts/postList.js | 16 | ||||
-rw-r--r-- | _posts/processPosts.js | 14 |
3 files changed, 21 insertions, 13 deletions
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 @@ +<h2>Introduction</h2> +<p> + Continuing in my reading of <cite>A Plato Reader: Eight Essential Dialogues</cite>, I recently came across <i>Phaedo</i>. +</p>
\ 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')); |