Site folder
A Site folder holds one Site's Pages and their layouts; every Site gets its own folder, even when a Startup has only one.
| Property | Value |
|---|---|
| Path | sites/ |
| Holds | Site |
| Kind | folder |
| Leaders | db-first, git-first |
| Team | Marketing Team |
| Written by | Change.merge |
| Compiled by | SiteBuilder |
Example
sites/ in a Startup repository.
---
domains: [closewise.com, www.closewise.com]
nav:
- { label: Pricing, path: /pricing }
- { label: Blog, path: /blog }
- { label: Sign in, path: /portal }
---Generates
SiteBuilder compiles it into these records, Verbs and routes.
| Kind | What |
|---|---|
| Records | Site, Page |
| Verbs | Site.publish |
| Routes | /{path} |