Skip to content

Commit

Permalink
Add new option to README, update composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
medienbaecker committed Nov 23, 2022
1 parent 600eca4 commit 4e5d904
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,20 @@ return [
];
```

### Exclude Module Blueprints

By default, all modules will be available in the "Add page" modal.
You can exclude certain modules in your `site/config/config.php`:

```php
return [
'medienbaecker.modules.exclude' => [
'hero',
'anotherForbiddenModule'
]
];
```

### Autopublish Modules

You can turn on automatic publishing for modules in your `site/config/config.php`:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "medienbaecker/kirby-modules",
"description": "Easily add modules to your pages",
"version": "2.3.1",
"version": "2.4.0",
"license": "MIT",
"authors": [
{
Expand Down

0 comments on commit 4e5d904

Please sign in to comment.