Skip to content

Commit

Permalink
Add post
Browse files Browse the repository at this point in the history
  • Loading branch information
roumail committed Oct 19, 2023
1 parent ce157de commit 7b8199b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/posts.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ def new_post(c, title, series=None, quarto=False):

# Add Quarto specific format specifications if quarto flag is enabled
if quarto:
path2post_qmd = path2post.with_suffix('.qmd')
path2post_qmd = path2post.with_suffix(".qmd")
path2post.rename(path2post_qmd)
path2post = path2post_qmd
path2post = path2post_qmd
with open(path2post, "a") as f:
f.write("\nformat: hugo-md\njupyter: python3\n")

Expand Down

0 comments on commit 7b8199b

Please sign in to comment.