open file in new_post script

This commit is contained in:
Tom 2025-02-11 10:42:02 +00:00
parent f8544e3911
commit 3e3c325552

View File

@ -87,6 +87,7 @@ Path("blog.md").touch()
url = f"http://localhost:4100/{now.strftime('%Y/%m/%d/')}{id_from_title}.html"
system(f"open {url}")
system(f"code _posts/{filename}")
print(f"Now on new branch post/{id_from_title}")
print("Make sure to edit, then commit and push changes.")