Drupal 8 is the one to watch out for since it will finally have the templating engine of Twig built in. Something WordPress lacks. Then again WordPress is WordPress, hopefully some day it shall have it's own templating engine built in.