Changed to use Template Toolkit instead of Liquid