Fix issues with page titles.

Closes #5