You should be able to find out where the pending link is checked and executed (could be the regular DeepLinkHome microflow or customized.
In the calling microflow, you can add a check for the maintenance mode, similar to your default homepage logic. See example below