function
New
Create one configured SEO plugin instance.
Collection and global selectors are copied. Add the returned plugin to executable application config, install the paired admin package, and run ridu generate.
Example
seo.New(seo.Config{
Collections: []schema.CollectionSlug{"pages"},
Globals: []schema.CollectionSlug{"site-settings"},
UploadsCollection: "media",
TabbedUI: true,
})