Acrosite-managed content paths
Where Acrosite writes Posts, Pages, Custom Content Types and media in your repository by default, and how to change the folders and file type for each content type.
When Acrosite publishes, it writes content and media into folders in your repository. Every project starts with the default folders below, and you can change them for each content type to match your site. This page shows where files land and how to change it.
Who this is for
Developers connecting a site to Acrosite, and anyone curious where published files go.
The default paths
By default Acrosite saves generated content inside a dedicated acrosite/content folder so developers can identify Acrosite-managed files, and writes media under public/images to keep public image URLs clean:
acrosite/content/posts # Posts
acrosite/content/pages # Pages
acrosite/content/<type-key> # each Custom Content Type
public/images/<type-key> # media for each content typeEach Post, Page, or Custom Content Type item is committed as one MDX file (<slug>.mdx) with frontmatter in its folder. Images the content uses are committed under that type's media folder.
Change the paths for a content type
Owners, Admins and Developers can open a content type's structure page (Posts, Pages or a Custom Content Type) and edit Repository Output:
- Content Folder — where that type's files are committed, for example
src/content/blogor_posts. - File Type — MDX (.mdx) or Markdown (.md).
- Media Folder — where its uploaded images are committed, for example
public/images/blog. - Media URL — the web path your site serves that media folder at. Leave it blank for folders under
public/orstatic/; Acrosite works it out. - Choose Save Output Settings.
Folders must be relative, lowercase and must not start with a dot, and two content types cannot share one content folder. Keep media outside the content folder.