Add a mode="html" option to ListPages