diff --git a/bin/build.py b/bin/build.py index 7f8a561..8186d05 100755 --- a/bin/build.py +++ b/bin/build.py @@ -98,7 +98,8 @@ def generate_html(book, toc): # os.mkdir(book_build_d_pages) for p in toc: - # print(toc[p]['file']) + print(toc[p]['file']) + pagename = toc[p]['file'].replace('.md', '') # files in_f = os.path.join(_BOOKS_SRC, toc[p]['file']) @@ -121,7 +122,7 @@ def generate_html(book, toc): # outputfile=out_f) # append html story page to template_dom - story_page = BeautifulSoup('
') + story_page = BeautifulSoup('') story_page.div.append(BeautifulSoup(output)) story_dom.append(story_page)