{% if store.branding.icon and store.branding.logo %} {% with image=store.branding.logo %} {% image_thumbnail image "150x" upscale=False as thumb_store_logo %} {% image_thumbnail image "300x" upscale=False as thumb_store_logox2 %} {% image_thumbnail image "450x" upscale=False as thumb_store_logox3 %} {% endwith %} {% with image=store.branding.icon %} {% image_thumbnail image "40x" upscale=False as thumb_store_icon %} {% image_thumbnail image "80x" upscale=False as thumb_store_iconx2 %} {% image_thumbnail image "120x" upscale=False as thumb_store_iconx3 %} {{ store.name }} {% endwith %} {% elif store.branding.logo and not store.branding.icon %} {% with image=store.branding.logo %} {% image_thumbnail image "150x" upscale=False as thumb_store_logo %} {% image_thumbnail image "300x" upscale=False as thumb_store_logox2 %} {% image_thumbnail image "450x" upscale=False as thumb_store_logox3 %} {{ store.name }} {% endwith %} {% elif store.branding.icon and not store.branding.logo %} {% with image=store.branding.icon %} {% image_thumbnail image "40x" upscale=False as thumb_store_icon %} {% image_thumbnail image "80x" upscale=False as thumb_store_iconx2 %} {% image_thumbnail image "120x" upscale=False as thumb_store_iconx3 %} {{ store.name }} {% endwith %} {% else %} {{ store.name }} {% endif %}