diff --git a/make_post_sell/templates/content.j2 b/make_post_sell/templates/content.j2 index a94f1d7..2a41cf2 100644 --- a/make_post_sell/templates/content.j2 +++ b/make_post_sell/templates/content.j2 @@ -7,14 +7,14 @@ - {%- set og_thumbnail = none %} - {%- for thumbnail_key in ["thumbnail1", "thumbnail2", "thumbnail3", "thumbnail4"] %} - {%- if og_thumbnail is none and thumbnail_key in product.extensions %} - {%- set og_thumbnail = thumbnail_key %} - {%- endif %} - {%- endfor %} - {%- if og_thumbnail %} - + + + {%- if "thumbnail1" in product.extensions %} + + + + + {%- endif %} {# Removed auto-refresh timer - better UX to let download links expire than interrupt reading #} diff --git a/make_post_sell/templates/product.j2 b/make_post_sell/templates/product.j2 index 9021aea..fce2c94 100644 --- a/make_post_sell/templates/product.j2 +++ b/make_post_sell/templates/product.j2 @@ -7,14 +7,14 @@ - {%- set og_thumbnail = none %} - {%- for thumbnail_key in ["thumbnail1", "thumbnail2", "thumbnail3", "thumbnail4"] %} - {%- if og_thumbnail is none and thumbnail_key in product.extensions %} - {%- set og_thumbnail = thumbnail_key %} - {%- endif %} - {%- endfor %} - {%- if og_thumbnail %} - + + + {%- if "thumbnail1" in product.extensions %} + + + + + {%- endif %} {# Removed auto-refresh timer - better UX to let download links expire than interrupt reading #}