{# we can't use |default because TOML doesn't have null values, only blank strings #} {# No reuse possible, like macro or set, because otherwise Tailwind doesn't detect the class names. #} {% if logo_url %} {% set dark_src = pathto(theme_logo_dark, 1) if theme_logo_dark else logo_url %} {% set dark_invert = 'dark:invert' if theme_logo_dark_invert else '' %} {% set classes = 'header-branding__logo h-8' %} {{ logo_alt|e }} {% endif %} {% if theme_header_title is not false %} {% endif %}