Basset Twig extension