How to use dynamic page titles in sails.js >v1.0?
问题 For the last few days I was looking for a viable solution in order to optimize html page titles <title>SOME_TITLE</title> within sails.js layout files, like layout.ejs , that by default use a static page title. Obviously, it would be way better to have dynamic page titles, e.g. Dashboard, Shopping Cart, etc... Other people were looking for this answer before and got answers for prior sails versions in Solution 1, Solution 2 and Solution 3. Unfortunately, none of them seem to be appropriate