Make Twig render compatible with Solr views