function
New
Create one configured SEO plugin instance.
Example
seo.New(seo.Config{
Collections: []schema.CollectionSlug{"pages"},
Globals: []schema.CollectionSlug{"site-settings"},
UploadsCollection: "media",
TabbedUI: true,
})Arguments
| Argument | Type | Description |
|---|---|---|
config | Config | The config value. |
Returns
The declared result.
*PluginHow it works
Collection and global selectors are copied. Add the returned plugin to executable application config, install the paired admin package, and run ridu generate.