You can not link any document to a multi page document. You either use
one multipage document, or
multiple single page documents. I would suggest the latter.
I know the documentation isn't very clear, but no one should really be using multipage documents unless they have a mostly static site: the content doesn't change often. So, to solve your problem. Get rid of the # with the ID, and split those into two html documents.