compile a static page