2

I'm used to writing Twig 1 syntax, and since switching to Craft 3 (which uses Twig 2) I keep getting lots of deprecation errors in the control panel.

Is there any reference material that provides the Twig syntax I should be using instead for Craft 3 sites?

1
  • The deprecation errors shown in the control panel should also tell you how to update your syntax accordingly, at least all the ones I have seen did. Commented Apr 6, 2018 at 8:47

1 Answer 1

2

Yes, with the launch of Craft 3, Pixel and Tonic have provided some documentation on switching from Craft 2 syntax to Craft 3.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.