diff --git a/make_post_sell/templates/content.j2 b/make_post_sell/templates/content.j2 index 4c74f01..e9153f1 100644 --- a/make_post_sell/templates/content.j2 +++ b/make_post_sell/templates/content.j2 @@ -7,9 +7,12 @@ - {%- if "thumbnail1" in product.extensions %} - - {%- endif %} + {%- for thumbnail_key in ["thumbnail1", "thumbnail2", "thumbnail3", "thumbnail4"] %} + {%- if thumbnail_key in product.extensions %} + + {%- break %} + {%- endif %} + {%- endfor %} {% if product.has_product_file and signed_get_object_url is not none %}