feat(cli) template update

This commit is contained in:
lumither committed 2025-04-17 23:35:13 -07:00
1 parent 15a88074e9
commit 71af26a09c
1 file changed
+2 -2
+2 -2
View File
@@ -10,7 +10,7 @@ from utils.lang import eprint, wprint
POST_TEMPLATE = '''
---
uuid: {{ uuid }}
id: {{ id }}
title: {{ title }}
subtitle: {{ subtitle }}
status: {{ status }}
@@ -83,6 +83,6 @@ class BlogPost(Template):
update=dt.today().strftime("%Y-%m-%d"),
tags=get_tags(),
category=get_category(),
uuid=uuid.uuid4()
id=uuid.uuid4()
)
create_all_files(self.WORK_PATH.format(year=year, identifier="test"), self.ITEMS)