Fixed and cleaned up publish command
Putting pages in their own directory

but outputting them flat in the site.