Comments (2)
Apparently this is a bug with gatsby gatsbyjs/gatsby#7463
My dev folder is called projects and since fileAbsolutePath is using root path then It's matching with all folders because they all belong in the projects folder.
Edit: alright I don't think this is a bug, I just just have to use relative path instead of absolute path but I can't find the relativepath property anywhere. Perhaps there's a plugin for it.
from v4.
I found a workaround, I just moved the project to a path that doesn't have the word projects in it.
Now it only detects the projects folder inside the project.
One other workaround would be to be more specific in the projects fileAbsolutePath regex:
projects: allMarkdownRemark( filter: { fileAbsolutePath: { regex: "/content/projects/" } frontmatter: { showInProjects: { ne: false } } }
Instead of
projects: allMarkdownRemark( filter: { fileAbsolutePath: { regex: "/projects/" } frontmatter: { showInProjects: { ne: false } } }
from v4.
Related Issues (20)
- Installed app name missing space
- Can I do that? HOT 1
- No supported integrations found in this site's gatsby-config.js HOT 3
- other projects are not showing HOT 19
- Issue with project installation HOT 8
- [Feature] - How can I add gif instead of image in feature projects HOT 1
- Query regard Using This Template HOT 3
- Issu with "npm start" HOT 3
- Project not installing correctly HOT 2
- Unable to get the favicon removed HOT 4
- Installation problem HOT 2
- nvm HOT 1
- Taking forever to building schema HOT 4
- Error while 'building-schema' on running npm start HOT 1
- TypeError: Joi.subPlugins is not a function
- failing to install and build HOT 5
- How can I change the Nav-bar Logo to my own Initials? HOT 10
- Cant Able to run and build HOT 2
- Change icon and name in tab bar
- Issues deploying via Netlify HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v4.