From e4e238cdda2fdeebcd5f7988af1e4f2ce3ad243a Mon Sep 17 00:00:00 2001 From: Xinyu Liu Date: Thu, 10 May 2018 08:46:01 +0800 Subject: [PATCH] fix: computed parsing errors in notfound --- lib/app/util.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/app/util.js b/lib/app/util.js index 29643be49f..e1229ad1d8 100644 --- a/lib/app/util.js +++ b/lib/app/util.js @@ -13,4 +13,8 @@ export function findPageForPath (pages, path) { return page } } + return { + path: '', + frontmatter: {} + } }