I’m struggling with how to overload a favicon when customizing a theme through theme inheritance. E.g. I’m using the learn2 theme, and the base.html.twig refers to {{ url(‘theme://images/favicon.png’) }} .
I have overloaded the theme with a my-learn2 theme and set this as the active theme. So I would expect that “url(‘theme://images/favicon.png’)” would refer to the my-learn2 theme directory, but it doesn’t: it refers to the base theme folder.
What is the correct way to get the “my-learn2” favicon to replace the favicon of the base theme?