Adapt default code to hakyll 4.2
rename the PostUrl type to PostUrlIndex
Port to Hakyll 4.2.2.0