Sorry, we don't support your browser.  Install a modern browser
This post is closed.

Plugins: Allow plugins to add Layout and Block methods#228

Similar to how a variety of class methods (example: pageMethods) can be added using plugins, add support for the recent Layout and Block classes:

  • layoutsMethods
  • layoutMethods
  • layoutcolumnMethods
  • blocksMethods
  • blockMethods

Example use cases are overwriting the span() method, or adding functionality such as a hasBlocks() method, as suggested in https://kirby.nolt.io/200.

2 years ago
S

This would also be really handy for https://github.com/sylvainjule/kirby-footnotes

a year ago
Changed the status to
In upcoming releases
10 months ago
Changed the status to
Completed
9 months ago