added some quick notes to update rendering, changed index template id to 0 since it is always present

pull/20/head
Ro 4 years ago
parent 9c1dbe00ad
commit 6ed3797b3a

@ -29,7 +29,7 @@ export default class Book {
getPage(id) { getPage(id) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
fh.create() fh.create()
.paths("content/pages") .paths('content/pages')
.ext('md') .ext('md')
.find() .find()
.then(files => { .then(files => {

@ -103,6 +103,7 @@ export default class Render {
} }
} else { } else {
//don't render delete pages //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: uuid:
title: This is the Start title: This is the Start
feature: /assets/images/global/default-bg.jpg feature: /assets/images/global/default-bg.jpg

Loading…
Cancel
Save