no essays in index

This commit is contained in:
wgroeneveld 2020-06-16 16:13:58 +02:00
parent 6b6ed7119d
commit 02b6688d1a
1 changed files with 1 additions and 2 deletions

View File

@ -48,8 +48,7 @@ function makeIndex(posts) {
async function run() {
const posts = await loadPostsWithFrontMatter(`${__dirname}/content/post`);
const essays = await loadPostsWithFrontMatter(`${__dirname}/content/essays`);
const index = makeIndex(posts.concat(essays));
const index = makeIndex(posts);
console.log(JSON.stringify(index));
}