updated navigation twig extensions to new template variables