Fixing match function to be compatible with Hakyll 4
Everything converted except book pages