I need to change the default title tag for the maintenance page, which currently is "Site under maintenance | [sitename]".
I tried to set
hook_preprocess_maintenance_page() but it doesn't work.
Also I think it can be set in
hook_preprocess_html(), but I don't know how to check the served page is the maintenance page.
How can I achieve this?