Convert old template in new middleman template