Plugins

Usage

Plugins extend the CMS with new server routes, admin views, and public-site injection snippets. Each plugin is a directory under plugins/.

Use the Plugins page in the admin to toggle plugins on or off. State is saved to config/plugins.json. A server restart is required for changes to take effect.

Plugins that expose a settings page will appear as a link in the sidebar under the Plugins section. Settings are merged with the plugin's defaults from config.js and saved to config/plugins.json.

Only files inside a plugin's admin/ and public/ subdirectories are served statically. Server files (plugin.js, config.js, data/) are blocked and return 404.

See the Tutorials section for a guide to writing your own plugin.