Fix deprecation warnings in template
Updated version to 1.2.1
Merge pull request #42 from philsturgeon/patch-1

Fix deprecation warnings in template