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