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:
parent
007a53f3df
commit
9ed4dd50e9
1 changed files with 2 additions and 2 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue