diff --git a/automations/write_blog_pages.py b/automations/write_blog_pages.py index 2fc7de0..6e89722 100644 --- a/automations/write_blog_pages.py +++ b/automations/write_blog_pages.py @@ -4,7 +4,7 @@ import root from datetime import datetime url = "mttp://deadvey.com" -blog_index_path = "../blog/index.md" +blog_index_path = f"{root.path}/blog/index.md" previous_year = 0 # Set the previous year as 0, the year is outputted to the page if it is different to 'previous_year' # Open the blog index (/blog/index.md)