Skip to content

Commit

Permalink
syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
sveneberth committed Jan 30, 2025
1 parent ffac337 commit 5a85ba8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion deploy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class ProjectConfig(ConfigType):
# {"width": 1920},
# {"width": 1280},
# {"width": 900},
# {"width": 500}
# {"width": 500},
# ]
# }

Expand Down
20 changes: 9 additions & 11 deletions deploy/skeletons/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
},
)

0 comments on commit 5a85ba8

Please sign in to comment.