Fix paths to target HTML files in generator
Fix creation of new pages and add creation of pure HTML and other files
Fix page removal if HTML was not generated