From 02eadc482bf8526683cefcd35656576a02ad84b0 Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Sun, 13 Mar 2016 14:24:42 -0700 Subject: [PATCH] Fix condition --- pages/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index.js b/pages/index.js index 97bbae4..648822a 100644 --- a/pages/index.js +++ b/pages/index.js @@ -16,7 +16,7 @@ class BlogIndex extends React.Component { access(page, 'data.date') ).reverse() sortedPages.forEach((page) => { - if (access(page, 'file.ext') === 'md' && include(page.path, '/404/')) { + if (access(page, 'file.ext') === 'md' && !include(page.path, '/404')) { const title = access(page, 'data.title') || page.path pageLinks.push(