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

modernize relationship configuration between markdown files #466

Open
travi opened this issue Oct 24, 2019 · 0 comments
Open

modernize relationship configuration between markdown files #466

travi opened this issue Oct 24, 2019 · 0 comments

Comments

@travi
Copy link
Member

travi commented Oct 24, 2019

it looks like there are improved techniques available that weren't when the relationships were originally configured: https://www.gatsbyjs.org/docs/gatsby-config/#mapping-node-types

the current mappings are defined here:

site/gatsby-config.js

Lines 5 to 10 in dd36be7

mapping: {
'MarkdownRemark.frontmatter.talk': 'MarkdownRemark.frontmatter.title',
'MarkdownRemark.frontmatter.speaker': 'MarkdownRemark.frontmatter.name',
'MarkdownRemark.frontmatter.sponsor': 'MarkdownRemark.frontmatter.name',
'MarkdownRemark.frontmatter.host': 'MarkdownRemark.frontmatter.location'
},

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

No branches or pull requests

1 participant