[HPT-222] the _document_header partial needs logic to prevent error when title doesn't exist