Update base_layout.html.twig

Fixed conditions