From b97f9baa4d2473c46ba76ac58d85686fa1954023 Mon Sep 17 00:00:00 2001 From: DeaDvey Date: Fri, 10 Jan 2025 22:42:57 +0000 Subject: [PATCH] gonna do a big change so want a backup --- automations/write_blog_pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)