Jade rendering plugin for Kirby.
- Drop the folder into your plugin directory.
- Copy the example templates to your template folder if needed.
Conditional attributes work only if wrapped in braces: li(class=$page->isActive() ? 'highlight' : '')
should become li(class=($child->isAncestorOf($page) ? 'highlight' : ''))