diff --git a/pages/index.jsx b/pages/index.jsx index 0894e14..52497fd 100644 --- a/pages/index.jsx +++ b/pages/index.jsx @@ -21,7 +21,7 @@ export default class extends React.Component { for (i = 0, len = ref.length; i < len; i++) { page = ref[i]; title = ((ref1 = page.data) != null ? ref1.title : void 0) || page.path; - if (page.path !== "/" && !((ref2 = page.data) != null ? ref2.draft : void 0)) { + if (page.path && page.path !== "/" && !((ref2 = page.data) != null ? ref2.draft : void 0)) { pageLinks.push(