Ignore the 404 page
This commit is contained in:
parent
655448def2
commit
0aa5a0ea64
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
<li
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue