amteich / kirby-twig

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

Not compatible with kirby layouts extension #32

Closed tobystokes closed 2 years ago

tobystokes commented 2 years ago

Firstly, thanks for this excellent plugin, it works great!

Except just to note that it seems to be incompatible with the kirby layouts plugin.

Now obviously, you won't need <?php layout() ?> if you now have {% extends 'layout.twig' %} - but this caught me out when I was in the process of converting templates, you will need to uninstall/remove the layouts plugin before adding twig.

seehat commented 2 years ago

Yes, I think that both won't work at the same time, as they use the same php mechanics to prepare templates and output.

seehat commented 2 years ago

Firstly, thanks for this excellent plugin, it works great!

You are welcome. :)