added some quick notes to update rendering, changed index template id to 0 since it is always present
This commit is contained in:
parent
9c1dbe00ad
commit
6ed3797b3a
3 changed files with 3 additions and 2 deletions
|
@ -29,7 +29,7 @@ export default class Book {
|
|||
getPage(id) {
|
||||
return new Promise((resolve, reject) => {
|
||||
fh.create()
|
||||
.paths("content/pages")
|
||||
.paths('content/pages')
|
||||
.ext('md')
|
||||
.find()
|
||||
.then(files => {
|
||||
|
|
|
@ -103,6 +103,7 @@ export default class Render {
|
|||
}
|
||||
} else {
|
||||
//don't render delete pages
|
||||
//check to see if deleted pages have been renderered and delete them
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
id: 1
|
||||
id: 0
|
||||
uuid:
|
||||
title: This is the Start
|
||||
feature: /assets/images/global/default-bg.jpg
|
||||
|
|
Loading…
Reference in a new issue