no essays in index
This commit is contained in:
parent
6b6ed7119d
commit
02b6688d1a
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue