fix deprecated variable access in template
Merge pull request #29 from Eyjafjallajokull/master

Fix deprecated variable access in template