type updates poster

This commit is contained in:
j 2023-10-06 13:51:41 +02:00
parent 5f1fd82472
commit 0a549ffddc
2 changed files with 2 additions and 1 deletions

View file

@ -177,6 +177,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"filter": true,
"find": true,
"sort": true,
"poster": true,
"autocomplete": true,
"columnWidth": 128
},

View file

@ -32,7 +32,7 @@ def render_poster(data, poster):
i = 0
elif data.get('type') == ["Background"]:
i = 200
elif data.get('type') == ["Forground"]:
elif data.get('type') == ["Foreground"]:
i = 400
elif data.get('type') == ["Annimation"]:
i = 600