fix typo in template condition
Merge pull request #236 from brente/fix-typo

fix typo in template condition