-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
url / issue #364
Comments
So the problem is |
Ah dood! I just need to edit the front-matter paths! thanks. |
Well... this is actually pretty weird. The |
Yeh, that makes sense. I understand that For just fixing the path front-matter on my blog, here is the script I threw together. |
I have 2 demo sites my blog and this starter demo. Both work great local.
Running with the same code, my blog still needs a trailing
/
on links to work (on gh_pages.) On the starter demo, it adds them. The only real difference I can tell is that on my blog I put everything directly inpages/articles/
(pages/articles/article.md
notpages/articles/article/index.md
) and there is aconfig.linkPrefix
of""
, but the starter demo has them all in the root with aconfig.linkPrefix
of"/gatsby-starter-drunkenblog"
.I think maybe I need to check for a trailing-slash in prefixLink in gatsby-helpers.
The text was updated successfully, but these errors were encountered: