incorporates route data in template for custom store