Skip to content
Discussion options

You must be logged in to vote

This is a follow up for anyone else looking for an easier solution.
I created a component for the location list with links e.g. '/location/dallas' and then used the following to include the component only on the 'locations' page via checking the slug. Yeah it feels a bit hacky but it beats hours of integration coding to decode rich text 👍

{data.contentfulPages.slug == 'locations' && }

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by GrfxGuru
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant