views:

46

answers:

1

In the Django framework, web page templates can inherit from other templates. In your child template, you define blocks of code which override like-named blocks in parent templates. I'm guessing there are other back-end templating systems which also work this way, but Django is the one I'm familiar with.

Do any of the existing javascript template systems support django-style inheritance?

A: 

Mustache.js has support for partials, which work in a similar* manner. Other than that, I haven't been able to find anything -- maybe I'll make it ...

* Okay, they're not really like Django's templates at all, but they are the closest simulacrum I could find.

Sean Vieira