html: don't add title metadata if the title is empty