summaryrefslogtreecommitdiff
path: root/_posts/processPosts.js
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2023-01-22 18:59:38 -0500
committermattkae <mattkae@protonmail.com>2023-01-22 18:59:38 -0500
commit22c7d2cfa31d83eb81c5ab397e287c2212691e71 (patch)
tree38ba6db608beff7cbc1ed476531eb02befd44942 /_posts/processPosts.js
parent64a8d78225e6539ca25374596fe5de44e6252a62 (diff)
WIP on Wind Fields, and updated resume
Diffstat (limited to '_posts/processPosts.js')
-rw-r--r--_posts/processPosts.js14
1 files changed, 1 insertions, 13 deletions
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'));