Edit Page

views/layouts/

This directory initially contains the default layout for your app, layout.ejs, but you can add any other layout files that you want to include in your app.

For more information on how to configure layouts, see Concepts > Views > Layouts.

Want to see for yourself?

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

Anatomy of a Sails App