#link to files in content collections

1 messages · Page 1 of 1 (latest)

cursive fjord
#

How can I use a frontmatter property to link to a file that's located in src/content/songs/pdf folder?

supple tundraBOT
#

Hi @cursive fjord. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Hmm, I don't know enough to give you a confident answer yet. The knowledge sources provided do not contain specific information on how to use a frontmatter property to link to a file in the src/content/songs/pdf folder. However, Astro's content collections do allow you to define custom metadata through frontmatter, which could potentially be used to store a link to a file.

For more detailed information, I recommend checking out Astro's official documentation on content collections (https://docs.astro.build/en/guides/content-collections/) and Markdown & MDX (https://docs.astro.build/en/guides/markdown-content).

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: