Moves content from index.php into a layout partial