Don't print the "pages" table if none exist

some issue with removing the "todo" table the easy way.