Fix condition

This commit is contained in:
Kyle Mathews 2016-03-13 14:24:42 -07:00
parent 47408c3997
commit 02eadc482b

View file

@ -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(
<li