fix: video pagination
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
{% if videos %}
|
||||
<section class="section product-videos-section" aria-label="Product videos">
|
||||
<section class="section product-videos-section" aria-label="Featured videos">
|
||||
<div class="container">
|
||||
{% if videos_archive_url %}
|
||||
<div class="video-preview-heading">
|
||||
<div><span class="section-badge">Video library</span><h2>Featured videos</h2></div>
|
||||
<span>{{ videos_total_count }} videos</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="product-videos-list">
|
||||
{% for video in videos %}
|
||||
{% if video.has_video %}
|
||||
@@ -10,6 +16,11 @@
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% if videos_archive_url %}
|
||||
<div class="video-preview-more">
|
||||
<a href="{{ videos_archive_url }}" class="btn-ghost">More videos <span aria-hidden="true">→</span></a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</section>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user