This plugin allows you to reference other blocks. Thus, you can easily repeat a block in multiple places on your page while being able to update it in one central place.
Use one of the following methods to install & use tearoom1/kirby-block-reference
:
If you know your way around Git, you can download this plugin as a submodule:
git submodule add https://github.com/tearoom1/kirby-block-reference.git site/plugins/kirby-block-reference
composer require tearoom1/kirby-block-reference
- Clone or download this repository from github: https://github.com/tearoom1/kirby-block-reference.git
- Unzip / Move the folder to
site/plugins
.
Use the block by adding it to you blueprints fieldsets if they are defined:
fieldsets:
- reference
This plugin is licensed under the MIT License, but using Kirby in production requires you to buy a license.