Fix page titles for non markdown formats
Merge pull request #628 from arr2036/fix_titles

Fix page titles for non markdown formats