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

Use Front Matter blocks for page meta and other info #18

Closed
jgaehring opened this issue Dec 10, 2021 · 2 comments
Closed

Use Front Matter blocks for page meta and other info #18

jgaehring opened this issue Dec 10, 2021 · 2 comments

Comments

@jgaehring
Copy link
Member

I've talked a little on the forum, in issue #13 and elsewhere about this need. Basically, Front Matter is supported out of the box with gatsby-transformer-remark, which I have already installed and am using to transform all our markdown into pages. It's really a matter of deciding on some consistent variables (as I've said elsewhere, I think title, date and slug are good variables to start with), add those variables to the GraphQL queries in the template and the createPages hook, and finally use those variables them for generating paths, rendering layouts, adding SEO metadata, etc.

@jgaehring jgaehring added this to the beta milestone Dec 10, 2021
@jgaehring
Copy link
Member Author

I added this to the beta milestone, but frankly, if a specific need for it doesn't arise in the course of adding other repos (#17) and migrating content from the old site (#12), then this shouldn't be a blocker.

@jgaehring jgaehring removed this from the beta milestone Dec 18, 2021
@jgaehring jgaehring mentioned this issue Dec 18, 2021
39 tasks
@jgaehring
Copy link
Member Author

Closing this, since it should be resolved once #49 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant