Allowing get_page to fail

Hello.

I was trying to generate some links on my site but I hit an issue when generating a link to a page in draft. When building for prod this fails since draft pages are removed completely from the search tree.

I saw this issue on Github. It was stale so I patched this for me by adding an optinal allow_missing parameter to get _page similar to the one in images.
I wanted to know if this could be merged or if there’s already a better way to address this use case.

Thanks and hello.