컨텐츠로 건너뛰기

index

이 내용은 아직 번역본이 없습니다.

function studioCMSBlogPlugin(options?: StudioCMSBlogOptions): StudioCMSPlugin

Defined in: index.ts:39

Creates and configures the StudioCMS Blog plugin.

StudioCMSBlogOptions

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
});

Renames and re-exports studioCMSBlogPlugin