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

How to display collections on homepage? #66

Closed
localghost8000 opened this issue Dec 3, 2021 · 1 comment
Closed

How to display collections on homepage? #66

localghost8000 opened this issue Dec 3, 2021 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@localghost8000
Copy link

localghost8000 commented Dec 3, 2021

Hey there,

I'm trying to figure out a way to make adding collections (eg: all vinyl, all t-shirts) as an option to my pages in Sanity (including the homepage). Is there a simple way to achieve this using this template? Thanks

@ndimatteo ndimatteo added enhancement New feature or request good first issue Good for newcomers labels Dec 6, 2021
@ndimatteo
Copy link
Owner

Hey there! You could easily achieve this by creating a new page content module that references an existing collection, and then using that to render the same collectionGrid that is shown on collection pages.

Hopefully that's enough to point you in the right direction, but let me know if you have any further questions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants