fix: $page is missing at 404 page (#388)

This commit is contained in:
Liu Xinyu
2018-05-10 21:28:25 +08:00
committed by ULIVZ
parent 21ff6120a9
commit cefc8c30c4
+4
View File
@@ -13,4 +13,8 @@ export function findPageForPath (pages, path) {
return page
}
}
return {
path: '',
frontmatter: {}
}
}