mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
Don't open new posts in the browser just print the url
This commit is contained in:
parent
e5c93cfd16
commit
7da82d3692
@ -86,7 +86,8 @@ Path("highlights.md").touch()
|
|||||||
Path("blog.md").touch()
|
Path("blog.md").touch()
|
||||||
|
|
||||||
url = f"http://localhost:4100/{now.strftime('%Y/%m/%d/')}{id_from_title}.html"
|
url = f"http://localhost:4100/{now.strftime('%Y/%m/%d/')}{id_from_title}.html"
|
||||||
system(f"open {url}")
|
# system(f"open {url}")
|
||||||
|
print(f"Post served on localhost, open in browser to preview. {url}")
|
||||||
system(f"code _posts/{filename}")
|
system(f"code _posts/{filename}")
|
||||||
|
|
||||||
print(f"Now on new branch post/{id_from_title}")
|
print(f"Now on new branch post/{id_from_title}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user