feat(content): add draft support for content collections
This commit introduces a draft system for the 'events' and 'news' collections. A `draft` boolean field has been added to the content schema, and frontend queries are now updated to only fetch and display content where `draft` is `false`. This allows content to be created and saved without being publicly visible, improving the publishing workflow.
This commit is contained in:
@@ -7,3 +7,7 @@
|
||||
--color-primary: #fb9e3a;
|
||||
--color-secondary: #fcef91;
|
||||
}
|
||||
|
||||
.dark {
|
||||
--color-gray-800: oklch(85% 0 275);
|
||||
}
|
||||
Reference in New Issue
Block a user