Skip to content
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

Is there any way not to use automatic mapping slug for post? #217

Closed
JuneBuug opened this issue Jan 7, 2020 · 2 comments
Closed

Is there any way not to use automatic mapping slug for post? #217

JuneBuug opened this issue Jan 7, 2020 · 2 comments
Labels
type: question or discussion Issue discussing or asking a question

Comments

@JuneBuug
Copy link

JuneBuug commented Jan 7, 2020

Summary

Gatsby supports explicitly configure post path, but minimal blog theme seems not to support it.
Can I configure post path with adding 'path' to frontmatter?

Relevant information

https://www.gatsbyjs.org/docs/mdx/writing-pages/#using-frontmatter-in-mdx

Environment (if relevant)

File contents (if changed)

gatsby-config.js: N/A
package.json: N/A
gatsby-node.js: N/A
gatsby-browser.js: N/A
gatsby-ssr.js: N/A

@JuneBuug JuneBuug added the type: question or discussion Issue discussing or asking a question label Jan 7, 2020
@LekoArts
Copy link
Owner

LekoArts commented Jan 7, 2020

Thanks for the issue! You should be able to define a slug in the frontmatter now in:

 - @lekoarts/gatsby-theme-minimal-blog-core@1.1.0
 - @lekoarts/gatsby-theme-minimal-blog@1.2.0

Like: slug: "/my-slug"

@JuneBuug
Copy link
Author

JuneBuug commented Jan 7, 2020

@LekoArts you are the fastest developer & project maintainer I've ever seen! thx for the kind response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question or discussion Issue discussing or asking a question
Projects
None yet
Development

No branches or pull requests

2 participants