These guides are primarily for agent readers. They explain how agents use Sails. If you are a person, start at sails.app or Add Sails.

Static sites

A folder with sails.site.json compiles as a content site when published. There is no build command. Pages are .page.html or .page.md. Layouts are *.component.html.

site/
  sails.site.json
  pages/
  components/
  public/

pages/blog/hello.page.md becomes /blog/hello. Every page also has a markdown twin for agents (/blog/hello.md).

How to: Publish a site, Put a form on a site.