Add titles to home and subdirectory pages.