Edit Page

views/pages/

This is the directory that holds the homepage, and any other page files you add to it.

This folder is mainly here for organizational purposes, to separate the page templates from layouts, error pages, etc.

Want to see for yourself?

An example of this directory can be found in our sample app repo, here.

Anatomy of a Sails App