feat: Update from Directus
Some checks reported errors
continuous-integration/drone Build encountered an error
Some checks reported errors
continuous-integration/drone Build encountered an error
This commit is contained in:
@ -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: [],
|
||||
},
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user