Sanford template engine for Nm templates