Support the empty template (fixes #27)
Merge pull request #29 from sharwell/fix-27

Support the empty template (fixes #27)