diff --git a/brain/data/Book.js b/brain/data/Book.js index 46aa08d..0d67bb3 100644 --- a/brain/data/Book.js +++ b/brain/data/Book.js @@ -147,7 +147,7 @@ export default class Book { '---\n' + body.content; layout === 'index' - ? (path = 'content/pages/' + body.slug + '.md') + ? (path = 'content/pages/index.md') : (path = 'content/pages/' + moment(body.created).format('YYYY') + diff --git a/site/init/index-template.md b/site/init/index-template.md index fef6283..0da8a99 100644 --- a/site/init/index-template.md +++ b/site/init/index-template.md @@ -12,7 +12,7 @@ updated: deleted: false menu: false featured: false -published: false +published: true slug: index --- # F**k Yes