What template language is the document generator using?

What template language is the document generator using?