refactoring Liquid template