Macro Extensions
There is a mechanism to use extended sets of Macros.
Typically, there will be extensions for specific types of applications.
How to Create an Extension?
→ Add a Kirby plugin and name it like
“pagefactory-{extension-name}/“The extension should typically contain the following sub-folders:
pagefactory-myextension/
js/
macros/
scss/
variables/
PageFactory will find Variables and Macros within this naming scheme.
Implementation of Macros and Variables is the same as for built-in or custom TransVars.