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

Discoverability of image helper with content collections #8809

Closed
sarah11918 opened this issue Jul 15, 2024 · 2 comments
Closed

Discoverability of image helper with content collections #8809

sarah11918 opened this issue Jul 15, 2024 · 2 comments
Labels
add new content Document something that is not in docs. May require testing, confirmation, or affect other pages.

Comments

@sarah11918
Copy link
Member

📚 Subject area/topic

content collections, images

📋 Suggested page

https://docs.astro.build/en/guides/content-collections/#defining-a-collection-schema

📋 General description or bullet points (if proposing new content)

We show an example of defining an image in a content collections schema, but don't describe using images at all on this page (only the image page) and don't link there.

🖥️ Reproduction of code samples in StackBlitz

No response

@sarah11918 sarah11918 added the add new content Document something that is not in docs. May require testing, confirmation, or affect other pages. label Jul 15, 2024
@at-the-vr
Copy link
Member

does that includes create a blog layout and define image source in md/mdx files ?

Something like BlogPost.astro being used for slugs and first-post.md from the Blog template

@sarah11918
Copy link
Member Author

Now I'm thinking that we don't need specific information on new versions of the content collections page, but rather the image advice should be specific to the file type of the collection entry (which is probably markdown or mdx) so I think it's safe to close this one!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add new content Document something that is not in docs. May require testing, confirmation, or affect other pages.
Projects
None yet
Development

No branches or pull requests

2 participants