From what I've seen of other template languages, it resembles Mako the most, though some of the syntax superficially resembles Jinja2.