mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
Update new_post.py
This commit is contained in:
parent
7da82d3692
commit
015b4aa03c
@ -46,7 +46,7 @@ if Path(assets_dir).exists() \
|
||||
and questionary.confirm(f"Directory {assets_dir} already exists, change assets dir?").ask():
|
||||
assets_dir = questionary.text("Assets Directory: ", default=assets_dir).ask()
|
||||
|
||||
git_branch = questionary.text("Branch: ", default=f"post/{id_from_title}").ask()
|
||||
git_branch = questionary.text("Branch: ", default=f"post/{id_from_title[:100]}").ask()
|
||||
|
||||
newline = "\n"
|
||||
draft = f"""---
|
||||
|
Loading…
x
Reference in New Issue
Block a user