Skip to content

Commit

Permalink
fix: $page is missing at 404 page (#388)
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy authored and ulivz committed May 10, 2018
1 parent 21ff612 commit cefc8c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/app/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ export function findPageForPath (pages, path) {
return page
}
}
return {
path: '',
frontmatter: {}
}
}

0 comments on commit cefc8c3

Please sign in to comment.