new project py

thumb
km0 3 years ago
parent 7bf7245f10
commit 923a52183e

@ -27,7 +27,7 @@ template = input("🏛️ Custom Template: ")
script = input("🧑 Custom JS: ")
css = input("🤪 Custom CSS: ")
project = {
metadata = {
'title': title,
'slug': slug,
'description': description,
@ -44,6 +44,9 @@ project = {
'css': css
}
project = {k: v for k, v in metadata.items() if v}
print(project)
post = frontmatter.Post('', **project)

@ -27,7 +27,7 @@ template = input("🏛️ Custom Template: ")
script = input("🧑 Custom JS: ")
css = input("🤪 Custom CSS: ")
project = {
metadata = {
'title': title,
'slug': slug,
'description': description,
@ -44,6 +44,9 @@ project = {
'css': css
}
project = {k: v for k, v in metadata.items() if v}
print(project)
post = frontmatter.Post('', **project)

Loading…
Cancel
Save