match hashes at the end of our contentPage
(cherry picked from commit 03c550cbfee078142641313b95ee3169905ee607)
only use the hash wildcard in the instantiation of the pagemod
(cherry picked from commit 6354b33f85499c94193343409c15f02edf6c3e3e)