Skip to content

Commit

Permalink
Updated blog
Browse files Browse the repository at this point in the history
  • Loading branch information
apotenza92 committed Jan 17, 2025
1 parent e0ce8ac commit 4c79589
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions archetypes/papermod.md → archetypes/posts.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "My 1st post"
date: 2020-09-15T11:30:03+00:00
title: "{{ replace .File.ContentBaseName "-" " " | title }}"
date: {{ .Date }}
# weight: 1
# aliases: ["/first"]
tags: ["first"]
Expand Down
2 changes: 1 addition & 1 deletion update_blog.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def create_new_post(title, paths):
print(f"Creating new post: {filename}")
try:
subprocess.run(
["hugo", "new", f"posts/{filename}", "--kind=papermod"],
["hugo", "new", f"posts/{filename}"],
cwd=paths["hugo"]["root"],
check=True,
)
Expand Down

0 comments on commit 4c79589

Please sign in to comment.