moving title_for_layout logic to render()