Skip to content

Commit

Permalink
test deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
victorrgouvea committed Sep 19, 2024
1 parent 6ad6f62 commit 021518a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/create_md.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def format_text(text, img, author, url):

def write_md(text):
match = re.search(r'slug:\s*"([^"]+)"', text)
slug = match.group(1)
slug = match.group(1)

with open(f'../content/posts/{slug}.md', 'w') as file:
file.write(text)
Expand Down

0 comments on commit 021518a

Please sign in to comment.