Use instance variables in template files