pass `locals` (options) to layouts
Merge branch 'layouts-views'