Porting right sidebar to Twig