index markdown page renders to correct file name on change, changed published flag to true in index template file
This commit is contained in:
parent
473849c993
commit
9dd8be25f4
2 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,7 @@ export default class Book {
|
||||||
'---\n' +
|
'---\n' +
|
||||||
body.content;
|
body.content;
|
||||||
layout === 'index'
|
layout === 'index'
|
||||||
? (path = 'content/pages/' + body.slug + '.md')
|
? (path = 'content/pages/index.md')
|
||||||
: (path =
|
: (path =
|
||||||
'content/pages/' +
|
'content/pages/' +
|
||||||
moment(body.created).format('YYYY') +
|
moment(body.created).format('YYYY') +
|
||||||
|
|
|
@ -12,7 +12,7 @@ updated:
|
||||||
deleted: false
|
deleted: false
|
||||||
menu: false
|
menu: false
|
||||||
featured: false
|
featured: false
|
||||||
published: false
|
published: true
|
||||||
slug: index
|
slug: index
|
||||||
---
|
---
|
||||||
# F**k Yes
|
# F**k Yes
|
||||||
|
|
Loading…
Reference in a new issue