5 ms·
Still no template inheritance! I feel like I'm taking crazy pills when that's the one feature I need / care about and none of the newer template languages impl
by phildeschaine 14y ago
Still no template inheritance! I feel like I'm taking crazy pills when that's the one feature I need / care about and none of the newer template languages implement it. I'm spoiled from Django/Jinja2/twig.
- machty 14y agoI'd consider this functionality in the future, but Emblem's bound by the constraints of Handlebars.js. In the meantime, most JS frameworks that you'd use Handlebars/Emblem with provide something pretty close to template inheritance. You'd achieve something similar in Ember with 'outlets', if I understand correctly.
- spullara 14y agoMost of the mustache implementations (.java, hogan.js, php, objc, etc) now support this. https://github.com/mustache/spec/issues/38 https://github.com/mustache/spec/issues/38
- nadaviv 14y agoJade has template inheritance, mixins, includes and plenty of other cool stuff. If you haven't, you might want to check it out: https://github.com/visionmedia/jade https://github.com/visionmedia/jade