malgorithms / toffee

a NodeJS and browser templating language based on coffeescript, with the slickest syntax ever
MIT License
174 stars 10 forks source link

Consider adding support for named blocks? #22

Open babsonmatt opened 11 years ago

babsonmatt commented 11 years ago

Would you consider adding support for named blocks within layouts? So other blocks could be defined/used aside from "body"?

malgorithms commented 11 years ago

Like the request for inline layout declarations, this likely wouldn't get added until a major version upgrade. But, in the meantime, what syntax would you imagine?