Build task for pages.