diff --git a/src/pages/index.js b/src/pages/index.js index 92cbc85..626b617 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -16,7 +16,7 @@ class BlogIndex extends React.Component { {posts.map(post => { - if (post.node.path !== '/404/') { + if (post.node.frontmatter.path !== '/404/') { const title = get(post, 'node.frontmatter.title') || post.node.path return (