From 0aa5a0ea6490e7512eef56117fc4dfc1548e432f Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Tue, 8 Mar 2016 22:46:49 -0800 Subject: [PATCH] Ignore the 404 page --- pages/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index.js b/pages/index.js index b0b8a05..16f408e 100644 --- a/pages/index.js +++ b/pages/index.js @@ -15,7 +15,7 @@ class BlogIndex extends React.Component { access(page, 'data.date') ).reverse() sortedPages.forEach((page) => { - if (access(page, 'file.ext') === 'md') { + if (access(page, 'file.ext') === 'md' && page.path !== '/404/') { const title = access(page, 'data.title') || page.path pageLinks.push(