Move title above media in content template

Title should always appear before the image/video so the user
knows what they're looking at. product.j2 already had this order.
This commit is contained in:
russell@unturf.com 2026-02-08 07:48:00 -05:00
parent 007a53f3df
commit 9ed4dd50e9

View file

@ -35,6 +35,8 @@
{% if request.shop.watch_mode_enabled %}<div class="watch-left">{% endif %}
<div class="product-images">
<h1>{{ product.title }} <span class="subtitle-text">uploaded to <a href="{{ product.shop.absolute_about_url(request) }}" rel="nofollow" class="shop-theme-link-color">{{ product.shop.name }}</a></span></h1>
{% if "thumbnail1" in product.extensions %}
{% set video_extensions = ["mp4", "avi", "mov", "wmv", "flv", "mkv", "webm", "m4v"] %}
{% if request.shop.watch_mode_enabled and product.extensions.get("product") in video_extensions %}
@ -66,8 +68,6 @@
{% endif %}
{% endif %}
<br/>
<h1>{{ product.title }} <span class="subtitle-text">uploaded to <a href="{{ product.shop.absolute_about_url(request) }}" rel="nofollow" class="shop-theme-link-color">{{ product.shop.name }}</a></span></h1>
</div>
<div class="product-description">