Refactor the content layout page for better theming.