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

support an array for collections frontmatter key #1333

Open
thescientist13 opened this issue Dec 1, 2024 · 0 comments
Open

support an array for collections frontmatter key #1333

thescientist13 opened this issue Dec 1, 2024 · 0 comments
Labels
CLI Content as Data documentation Greenwood specific docs enhancement Improve something existing (e.g. no docs, new APIs, etc)
Milestone

Comments

@thescientist13
Copy link
Member

thescientist13 commented Dec 1, 2024

Type of Change

Enhancement

Summary

Currently, Greenwood supports defining content collections through a frontmatter key

---
collection: navigation
order: 2
---

# About Page

Lorum Ipsum

However, it was observed / requested that content could belong in more than one collection, so allowing it be an array would be really nice.

---
collection:
  - navigation
  - other
order: 2
---

# About Page

Lorum Ipsum

Details

Aside from implementing this, would also want to update the documentation to demonstrate this capability / option.

@thescientist13 thescientist13 added enhancement Improve something existing (e.g. no docs, new APIs, etc) documentation Greenwood specific docs CLI Content as Data labels Dec 1, 2024
@thescientist13 thescientist13 added this to the 1.0 milestone Dec 1, 2024
@thescientist13 thescientist13 changed the title support and array for for collections frontmatter support an array for for collections frontmatter key Dec 1, 2024
@thescientist13 thescientist13 changed the title support an array for for collections frontmatter key support an array for collections frontmatter key Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI Content as Data documentation Greenwood specific docs enhancement Improve something existing (e.g. no docs, new APIs, etc)
Projects
Status: 🔖 Ready
Development

No branches or pull requests

1 participant