Create a proper build task to handle all the building in the process

This moves it to the new format which builds 2 separate pages.