index
Functions
'Read the “', Functions, '” section'studioCMSBlogPlugin()
'Read the “', studioCMSBlogPlugin(), '” section'function studioCMSBlogPlugin(options?: StudioCMSBlogOptions): StudioCMSPlugin
Defined in: index.ts:39
Creates and configures the StudioCMS Blog plugin.
Parameters
'Read the “', Parameters, '” section'Optional configuration options for the blog plugin.
StudioCMSPlugin
The configured StudioCMS plugin.
This function sets up the StudioCMS Blog plugin with the provided options or default values. It configures the plugin’s identifier, name, minimum version, frontend navigation links, page types, sitemap settings, and integration hooks.
const blogPlugin = studioCMSBlogPlugin({ blog: { title: 'My Blog', enableRSS: true, route: '/my-blog' }, sitemap: true, injectRoutes: true});
References
'Read the “', References, '” section'Renames and re-exports studioCMSBlogPlugin