From 469160cae6287c8fe6efb519e11bcbf3ac2cd865 Mon Sep 17 00:00:00 2001 From: 20xd6 <20xd6@airmail.cc> Date: Fri, 8 Jul 2022 11:56:56 -0400 Subject: [PATCH] Update the path to the main index.php file. --- publish_blog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publish_blog.py b/publish_blog.py index a0e0437..4178e4d 100644 --- a/publish_blog.py +++ b/publish_blog.py @@ -42,7 +42,7 @@ def parse_file(article_path): path_to_publish = os.path.join(path_to_publish, article_number + final_title.replace(' ', '_')) print("Publishing to: {0}".format(path_to_publish)) os.makedirs(path_to_publish) - index_file = os.path.join(blog_config['general']['web_root'], 'common', 'index.php') + index_file = os.path.join(blog_config['general']['web_root'], 'common', 'php', 'index.php') place_indexes(index_check_path, path_to_publish, index_file) add_datestamp(article_path, os.path.join(path_to_publish, "article.md")) article_imgs = find_local_links(article_path)