diff --git a/scripts/blog.py b/scripts/blog.py index 9ba6cd0..f80dd02 100644 --- a/scripts/blog.py +++ b/scripts/blog.py @@ -573,7 +573,7 @@ def main(source_top, dest_top): docs[filepath] = (doc, front_matter, out_path) doc_full_path = os.path.join(dest_top, out_path) print("Updated: {}.html".format(doc_full_path)) - os.makedirs(os.path.dirname(doc_full_path), exist_ok=True) + os.makedirs(os.path.dirname(doc_full_path + '/index.html'), exist_ok=True) # print("==", doc_full_path) with open(doc_full_path + '/index.html', 'wt') as f: try: