mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
open file in new_post script
This commit is contained in:
parent
f8544e3911
commit
3e3c325552
@ -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.")
|
Loading…
x
Reference in New Issue
Block a user