Update page title on error and documentation pages