#Approaches for separating content (collections) from Astro application code

3 messages · Page 1 of 1 (latest)

fleet lark
#

What are you doing to keep content (files) separate from Astro application code (without using a CMS)?

umbral willow
#

Without putting the content in the same place with your code, I would put in in a database and pull it via an API of some sorts. For what use case would you want to do this though?

fleet lark
#

The content will contain documentation and structured data. Editors should be able to work on the content but should not get in touch with application code. The Q42 site comes close to what I've in mind: https://quality.arc42.org/qualities/
CMS/database is too much overhead. A file-based approach would be sufficient but Git Subtrees is the only approach I see for now. Therefore I'm interested how others are doing it.