Skip to content
Gitupcms
Esc
↑↓navigate↵open⌘Jpreview
On this page

Configure site

Change collections, fields, languages, media and publishing from the browser. Admins only.

Open Configuration in the sidebar (or add ?configure=<section> to the URL). The dialog has five sections:

Section What it changes Where it is stored
Your site site in astro.config, sitemap discovery astro.config.*
Content and Site data Collections and their fields src/content.config.ts
Languages Astro i18n astro.config.*
Media Media libraries Gitupcms database
Publishing Direct commits or reviews, preview URL template Gitupcms database

Changes to content, site data and languages go into one commit, editing only the changed collections and keys. Fields written with chains or variables keep their source unless you change them; complex schemas are read-only. Unsaved edits are kept in the browser.

Labels and descriptions for collections and fields are kept in the database, not in the repo.

Use Astro’s schema files

If the repo tracks .astro/collections/ (written by astro sync), detection reads the exact fields from there. Use Astro’s schema files edits .gitignore to allow it.

Was this page helpful?