---
title: "Discussion on \"How to filter allMarkdownRemark by folder (Gatsby and GraphQl)\" | Hashnode"
description: "Discussion on \"How to filter allMarkdownRemark by folder (Gatsby and GraphQl)\". {\n  resolve: `gatsby-source-filesystem`,\n  options: {\n    name: `pages`,\n    path: `${__dirname}/src/pages/`,\n  },\n},\n{\n  resolve: `gatsby-source-filesystem`,\n  options: {\n    name: `posts`,\n    path: `${__dirname}/src/posts/`,\n  },\n},\n\nHere, the nam..."
url: "https://hashnode.com/posts/filter-allmarkdownremark-by-folder-gatsby-and-graphql/63b3208818a4a1fdb73a6af7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to filter allMarkdownRemark by folder (Gatsby and GraphQl)](https://blog.ahmadullah.in/filter-allmarkdownremark-by-folder-gatsby-and-graphql?utm_source=hashnode&utm_medium=feed)

{ resolve: \`gatsby-source-filesystem\`, options: { name: \`pages\`, path: \`${\_\_dirname}/src/pages/\`, }, }, { resolve: \`gatsby-source-filesystem\`, options: { name: \`posts\`, path: \`${\_\_dirname}/src/posts/\`, }, }, Here, the nam...

Jan 2, 2023 · 1 min read · blog.ahmadullah.in  
Read the article

-   [#gatsby](https://hashnode.com/tag/gatsby)
-   [#graphql](https://hashnode.com/tag/graphql)
-   [#markdown](https://hashnode.com/tag/markdown)

## Written by

[Ahmadullah Mirza](https://hashnode.com/@aumirza)

@aumirza · India

  
[View profile](https://hashnode.com/@aumirza)

Frontend developer, discovering the web.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
