Closed sr3d closed 11 years ago
Inspired by ejs-layout, I update the code to support contentFor block with following syntax:
contentFor
<%- contentFor('leftNav') -%> <ul> ... </ul> <%- contentFor('someOtherSection') -%> ....
<%- contentFor.leftNav -%> .. // snipped ... <%- contentFor.someOtherSection -%>
Inspired by ejs-layout, I update the code to support
contentFor
block with following syntax:inside the view
inside the layout