kozmozio/kirby-coming-soon
最新稳定版本:1.0.0
Composer 安装命令:
composer require kozmozio/kirby-coming-soon
包简介
A Kirby CMS plugin that provides coming soon/maintenance mode functionality
README 文档
README
A Kirby CMS plugin that provides coming soon/maintenance mode functionality, hiding the website from non-logged-in users when enabled.
Installation
Manual Installation
Download and copy this repository to /site/plugins/kirby-coming-soon.
Composer
composer require kozmozio/kirby-coming-soon
Configuration
Config File
Add the following to your site/config/config.php:
'kozmozio.coming.soon' => [ 'enabled' => true, 'ignore' => [], 'title' => 'Coming Soon', 'description' => 'This website is currently under maintenance and will be back online soon.', 'redirect_url' => false ]
Options
| Option | Type | Default | Description |
|---|---|---|---|
enabled |
bool |
false |
Enable/disable coming soon mode |
ignore |
array |
[] |
Paths to ignore (always accessible) |
title |
string |
'Coming Soon' |
Title displayed on the coming soon page |
description |
string |
'This website is...' |
Description/message displayed to visitors |
redirect_url |
string|false |
false |
Redirect visitors to this URL instead |
Panel Configuration
You can also configure the plugin via the Kirby Panel by extending your site blueprint:
# site/blueprints/site.yml tabs: comingsoon: extends: kozmoz/comingsoon
This adds a "Coming Soon" tab to your site settings with fields for:
- Enable/disable toggle
- Redirect URL
- Title
- Description (rich text)
Activation Methods
The plugin can be activated in several ways:
- Config option: Set
'enabled' => truein config - Panel toggle: Enable via the Panel UI
- File-based: Create a
.comingsoonfile in your site root - Global option: Set
'maintenance' => truein config
Ignored Paths
By default, these paths are always accessible:
assetsapimediapanel
Add custom paths via the ignore option.
Logged-in Users
Logged-in users (via Kirby Panel) can always access the full website, even when coming soon mode is enabled.
License
MIT
Author
Kozmozio - https://kozmoz.io
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-04-22
