index markdown page renders to correct file name on change, changed published flag to true in index template file

pull/20/head
Ro 4 years ago
parent 473849c993
commit 9dd8be25f4

@ -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') +

@ -12,7 +12,7 @@ updated:
deleted: false
menu: false
featured: false
published: false
published: true
slug: index
---
# F**k Yes

Loading…
Cancel
Save