Refactor base_layout.html.twig block