amteich / kirby-twig

Twig templating support for Kirby CMS
MIT License
48 stars 12 forks source link

Update namespace example calling the Kirby object to use ready option #27

Closed renestalder closed 2 years ago

renestalder commented 2 years ago

The example before demonstrated how to build a path with the Kirby object, yet that example couldn't work as the Kirby object is not available in the config, unless it is called in the 'ready' option of the config.

renestalder commented 2 years ago

See https://github.com/getkirby/kirby/issues/1724 for further discussions and the reference for the ready option.

seehat commented 2 years ago

Thank you @renestalder for sending a PR.