Comments (6)
Hi @twhite96 , this is a weird problem. It is due to a regex
issue. The blog posts are queried based on their absolute path, ie all markdown files that contain "blog" are queried. Now the issue (I believe) is that you have named your project build_blog
which has the word "blog" in it so all files in your project folder are queried.
So what you can do is either rename your project to something that doesn't contain "blog" in it, or I can update your code so that it strictly checks for content inside the contents folder.
from gatsby-starter-elemental.
Thanks @akzhy that fixed it. However there's some jank when refreshing the page. I added a gatsby plugin to reduce the flashing when loading the page when coming from light mode to dark mode and vice versa. I'm still trying to track down the jank bug though.
from gatsby-starter-elemental.
Hi, can you explain a bit more on what you mean by jank bug, also where does it occur ? @twhite96
from gatsby-starter-elemental.
@akzhy the page jumps when it is refreshed. I think it is an issue of me deleting the portfolio section. I can't take a look until probably tomorrow as I just moved and haven't setup everything yet. But if you clone my repo and load it you will get a sense of what I am talking about.
from gatsby-starter-elemental.
@twhite96 Hi, can you take a look at https://elemental.netlify.com/ and check if the issue exists there ? I had made some updates to it, the latest fix might be what you are looking for.
from gatsby-starter-elemental.
@akzhy there's a flash but no jumpiness. I still haven't set up my personal Mac to pull the updated yet but when I do I'll check it out.
from gatsby-starter-elemental.
Related Issues (20)
- Loading Issue with profile Images HOT 4
- Netlify forms HOT 7
- pathContext Deprecated HOT 1
- Comment for blog post HOT 2
- Firefox Dark Mode Switch in footer HOT 1
- Dark mode flicker in Production HOT 8
- Can't resize window HOT 2
- Path prefix issue after build HOT 7
- How can I change the link from /portfolio to /projects? HOT 1
- Support for react-helmet v6.0.0
- Custom fonts HOT 1
- v1.1.1 Submit button on contact form not working HOT 11
- Relative paths in Markdown Frontmatter? HOT 10
- Typescript support HOT 3
- Disqus comments are not visible in light mode HOT 6
- Use fluid image plugin on title image? HOT 1
- Unable to Install Starter HOT 5
- Cannot find module 'graphql/validation/rules/KnownArgumentNamesRule' HOT 1
- Not certain what node version I need to be able to run the project?
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 gatsby-starter-elemental.