output directly to the pages dir