{% load static wagtailimages_tags %} {% comment %} The site's own favicons when both are set, phoxtail's symbol otherwise, each in a light and a dark version. Expects `settings` in the context (get_settings). {% endcomment %} {% if settings.phoxtail_cms.SiteSetting.favicon and settings.phoxtail_cms.SiteSetting.favicon_dark %} {% image settings.phoxtail_cms.SiteSetting.favicon max-32x32 as favicon_img %} {% image settings.phoxtail_cms.SiteSetting.favicon_dark max-32x32 as favicon_dark_img %} {% else %} {% endif %}