template route for preview