Rendering template with layout and without