[BUGFIX] Properly resolve link format to page type