Module
seo
github.com/riducms/ridu/plugins/seo — Payload-familiar search metadata fields, authenticated draft-aware generators, and a paired Svelte admin.
Functions 9
seo.New()Create one configured SEO plugin instance.
seo.Overview()Create the default presentation-only metadata checks.
seo.OverviewWithConfig()Create overview checks mapped to explicit field paths and guidance ranges.
seo.MetaTitle()Create a localized text field with SEO title guidance and optional generation.
seo.MetaDescription()Create a localized textarea with SEO description guidance and optional generation.
seo.MetaImage()Create a localized upload reference with SEO image authoring and optional generation.
seo.MetaImageWithConfig()Create a directly placed SEO image field with explicit label and description.
seo.Preview()Create the default presentation-only search-result preview.
seo.PreviewWithConfig()Create a search preview mapped to explicit title and description paths.
Types 11
constant seo.KeyThe stable backend and admin plugin identity.
constant seo.AdminPluginPairingVersionThe required compatibility version between the Go and Svelte packages.
type seo.GenerateContextTrusted runtime input for a title, description, image, or URL generator.
type seo.GenerateTextA title, description, or preview-URL callback.
type seo.GenerateImageAn image callback that returns a stable upload document ID.
type seo.FieldsOverrideA callback that replaces the complete ordered contents of the injected meta group.
type seo.ConfigResource selectors, layout, field overrides, and executable generation callbacks.
type seo.OverviewConfigLabels, field paths, and character guidance for a directly placed overview.
type seo.PreviewConfigGenerator state, label, and field paths for a directly placed preview.
type seo.MetaImageConfigUpload collection and authoring presentation for a directly placed image.
type seo.PluginA configured SEO extension implementing config transformation, descriptor, and endpoint capabilities.