fix: makefile new-post title

This commit is contained in:
Felipe M 2025-04-21 20:14:21 +02:00
parent eccf98f881
commit 28d503e75e
Signed by: fmartingr
GPG key ID: CCFBC5637D4000A8

View file

@ -10,7 +10,7 @@ new-post:
POST_DIR="content/blog/$$YEAR/$$MONTH/$$DAY/dummy"; \
mkdir -p "$$POST_DIR"; \
echo "+++" > "$$POST_DIR/index.md"; \
echo "title = Dummy Post" >> "$$POST_DIR/index.md"; \
echo "title = \"Dummy Post\"" >> "$$POST_DIR/index.md"; \
echo "date = $$(date +%Y-%m-%d)" >> "$$POST_DIR/index.md"; \
echo "draft = false" >> "$$POST_DIR/index.md"; \
echo "+++" >> "$$POST_DIR/index.md"; \