javascript - In Sails js how to load alternative templates within the front page (all screens) -


in sails js design main template our app replaces (in turn, on click) nested templates within, in place of initial nested app template.

we may not use library or framework on top of sails, unless necessary.

the question : in sails js efficient way display alternative templates within front page template ?

do header , footer combined ejs-locals run/render on smartphones ?