Configurable Content-Layer Config File #1006
dustinlacewell
started this conversation in
Proposal
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Currently, the content layer uses
content/config.ts
for configuration. Make this configurable.Background & Motivation
With the new Content Layer able to pull content from anywhere, it is no longer a valid assumption that the
content/
folder will be utilized for anything butconfig.ts
. It can feel a little silly havingcontent/
around just to holdconfig.ts
.Goals
Add some sort of configuration to
astro.config.mjs
to allow customizing which file is used by the content layer for configuration.Example
Beta Was this translation helpful? Give feedback.
All reactions