use twig constant() to access BASE_URL constant instead of passing it as a variable to the templates