Update the path to the main index.php file.
This commit is contained in:
parent
73ab44d3f6
commit
469160cae6
@ -42,7 +42,7 @@ def parse_file(article_path):
|
|||||||
path_to_publish = os.path.join(path_to_publish, article_number + final_title.replace(' ', '_'))
|
path_to_publish = os.path.join(path_to_publish, article_number + final_title.replace(' ', '_'))
|
||||||
print("Publishing to: {0}".format(path_to_publish))
|
print("Publishing to: {0}".format(path_to_publish))
|
||||||
os.makedirs(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)
|
place_indexes(index_check_path, path_to_publish, index_file)
|
||||||
add_datestamp(article_path, os.path.join(path_to_publish, "article.md"))
|
add_datestamp(article_path, os.path.join(path_to_publish, "article.md"))
|
||||||
article_imgs = find_local_links(article_path)
|
article_imgs = find_local_links(article_path)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user