OK with keeping the favicon as is. I think I found a better solution. We can simply combine the `media()` helper and the `regex_replace` filter like this:

```Python
{% block page_image %}{{ media('img/firefox/firefox-256.jpg')|regex_replace('^//', 'https://') }}{% endblock %}
```