From 0a549ffddc89799e719e806aaab04d6c2114b952 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 6 Oct 2023 13:51:41 +0200 Subject: [PATCH] type updates poster --- config.jsonc | 1 + scripts/poster.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config.jsonc b/config.jsonc index f88ddab..c7931dc 100644 --- a/config.jsonc +++ b/config.jsonc @@ -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 }, diff --git a/scripts/poster.py b/scripts/poster.py index d896952..1eda05c 100755 --- a/scripts/poster.py +++ b/scripts/poster.py @@ -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