diff --git a/deploy/main.py b/deploy/main.py index 509c8ad..b6f62c0 100644 --- a/deploy/main.py +++ b/deploy/main.py @@ -58,7 +58,7 @@ class ProjectConfig(ConfigType): # {"width": 1920}, # {"width": 1280}, # {"width": 900}, - # {"width": 500} + # {"width": 500}, # ] # } diff --git a/deploy/skeletons/example.py b/deploy/skeletons/example.py index 9178c22..509c0cd 100644 --- a/deploy/skeletons/example.py +++ b/deploy/skeletons/example.py @@ -7,45 +7,43 @@ class ExampleSkel(Skeleton): # Defaults name = StringBone( descr="Name", - required=True + required=True, ) - sortindex = NumericBone( - descr="Sort index", - indexed=True, - required=True + sortindex = SortIndexBone( + required=True, ) image = FileBone( descr="Image", - derive=conf["derives"] + # derive=conf.project.standard_derives, ) # SEO seo_title = StringBone( descr="SEO Title", params={ - "category": "SEO" - } + "category": "SEO", + }, ) seo_description = StringBone( descr="SEO Description", params={ "category": "SEO" - } + }, ) seo_keywords = StringBone( descr="SEO Keywords", params={ "category": "SEO" - } + }, ) seo_image = FileBone( descr="SEO Preview Image", params={ "category": "SEO" - } + }, )