chore: updates e2e tests for plugin-nested-docs and plugin-seo (#5434)
* test: removes unnecessary lines * fix: do not error if row field has no fields (#5433) * ci(deps): update turborepo * ci: release script updates * chore: lint all json/yml, add to lint-staged * chore: lint mdx in lint-staged * chore: enable e2e live preview (#5444) * chore: update workflow file --------- Co-authored-by: Alessio Gravili <70709113+AlessioGr@users.noreply.github.com> Co-authored-by: Elliot DeNolf <denolfe@gmail.com> Co-authored-by: Paul <paul@payloadcms.com>
This commit is contained in:
committed by
GitHub
parent
92ec0a5b1d
commit
ece7d92e57
@@ -37,11 +37,10 @@ export default buildConfigWithDefaults({
|
||||
plugins: [
|
||||
seo({
|
||||
collections: ['users'],
|
||||
fields: [],
|
||||
tabbedUI: true,
|
||||
}),
|
||||
seo({
|
||||
collections: ['pages', 'posts'],
|
||||
collections: ['pages'],
|
||||
fieldOverrides: {
|
||||
title: {
|
||||
required: true,
|
||||
@@ -58,7 +57,6 @@ export default buildConfigWithDefaults({
|
||||
generateTitle: (data: any) => `Website.com — ${data?.doc?.title?.value}`,
|
||||
generateURL: ({ doc, locale }: any) =>
|
||||
`https://yoursite.com/${locale ? locale + '/' : ''}${doc?.slug?.value || ''}`,
|
||||
globals: ['settings'],
|
||||
tabbedUI: true,
|
||||
uploadsCollection: 'media',
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user