Skip to content

Commit

Permalink
Make regex more specific so doesn't bring in doc posts
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAMathews committed Oct 27, 2017
1 parent ce6d4c8 commit 0e2d8ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion www/src/pages/blog/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export const pageQuery = graphql`
sort: { order: DESC, fields: [frontmatter___date] }
filter: {
frontmatter: { draft: { ne: true } }
fileAbsolutePath: { regex: "/blog/" }
fileAbsolutePath: { regex: "/docs.blog/" }
}
) {
edges {
Expand Down
2 changes: 1 addition & 1 deletion www/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export const pageQuery = graphql`
limit: 3
filter: {
frontmatter: { draft: { ne: true } }
fileAbsolutePath: { regex: "/blog/" }
fileAbsolutePath: { regex: "/docs.blog/" }
}
) {
edges {
Expand Down

0 comments on commit 0e2d8ee

Please sign in to comment.