Fast template engine for minimum-logic HTML templates