fix schuelerzeitung folder support
All checks were successful
schuelerzeitung-prod / prod-build (push) Successful in 1s
schuelerzeitung-prod / test-build (push) Successful in 1s

This commit is contained in:
Denys Konovalov 2023-12-12 19:10:52 +01:00
parent 3ab1ca9720
commit 4f4957c7e1
Signed by: Denys Konovalov
GPG Key ID: 0037E1B0E33BD2C9

@ -13,6 +13,9 @@ const PostCollection = {
}, },
media_folder: "/static/media", media_folder: "/static/media",
public_folder: "/media", public_folder: "/media",
media_library: {
folder_support: true,
},
filter: { filter: {
field: "type", field: "type",
value: "post", value: "post",
@ -95,6 +98,9 @@ const PagesCollection = {
}, },
media_folder: "/static/media", media_folder: "/static/media",
public_folder: "/media", public_folder: "/media",
media_library: {
folder_support: true,
},
summary_fields: ["title", "date", "draft", "description"], summary_fields: ["title", "date", "draft", "description"],
fields: [ fields: [
{ {