If you go to Books > YOURBOOK > Settings > Generation Settings (https://leanpub.com/YOURBOOK/edit_generation_settings), you can modify whether we generate no web page, a sample HTML version or a full HTML version.  So, if you choose "No web page" you should get what you want.

Please note that if you choose "No web page" we still allow Leanpub readers who have bought the book to read the EPUB in their web browser.  EPUB is just zipped HTML plus some metadata, of course.  However, we assume that's OK :)

Did this answer your question?