Skip to content

Commit 48c2ef8

Browse files
committed
🐛 Fix: Fixes about screen and 404 page
Closes #35
1 parent 1174881 commit 48c2ef8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

gatsby-node.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ exports.createPages = async ({ graphql, actions }) => {
1717
{
1818
allMarkdownRemark(
1919
sort: { fields: [frontmatter___date], order: DESC },
20-
filter: { frontmatter: { type: { eq: "post" } } }
2120
limit: 1000
2221
) {
2322
edges {

src/pages/404.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ export const pageQuery = graphql`
5757
query {
5858
allMarkdownRemark(
5959
sort: { fields: [frontmatter___date], order: DESC }
60-
filter: { frontmatter: { type: { ne: "page" } } }
61-
limit: 5
60+
filter: { frontmatter: { type: { eq: "post" } } }
61+
limit: 6
6262
) {
6363
edges {
6464
node {

0 commit comments

Comments
 (0)