feat: Update from Directus
Some checks reported errors
continuous-integration/drone Build encountered an error

This commit is contained in:
2023-02-22 18:55:39 +01:00
parent d92ab6c271
commit 146617b60a
16 changed files with 116 additions and 64 deletions

View File

@ -33,7 +33,7 @@ const config = {
}
return `./content${page.slug}`;
},
deleteFields: ['path', 'slug', 'menu_display', 'sort', 'identifier', 'menu_title', 'parent']
deleteFields: ['path', 'slug', 'menu_display', 'sort', 'identifier', 'menu_title', 'parent'],
},
actualites: {
readByQueryOption: {
@ -43,7 +43,8 @@ const config = {
pathBuilder: (article) => {
const [year, month, day] = article.date.split("-")
return `./content/actualites/${year}/${month}/${day}-${urlslug(article.title, { remove: /\./g })}`;
}
},
deleteFields: [],
},
Association: {
readByQueryOption: {
@ -94,6 +95,7 @@ const config = {
return `./content/associations/${urlslug(association.denomination)}`;
},
deleteFields: [],
},
}
}