fix: video pagination
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{% load static %}
|
||||
<img
|
||||
src="{% static 'images/tecvico/brand-logo.svg' %}"
|
||||
alt="Tecvico"
|
||||
src="{% if site_branding.icon %}{{ site_branding.icon.url }}{% else %}{% static 'images/tecvico/brand-logo.svg' %}{% endif %}"
|
||||
alt="{{ site_branding.icon_alt|default:'Tecvico' }}"
|
||||
class="brand-icon"
|
||||
{% if placement == "navbar" %}style="{{ site_branding.navbar_icon_style }}"{% elif placement == "footer" %}style="{{ site_branding.footer_icon_style }}"{% endif %}
|
||||
/>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<div class="container footer-main-inner">
|
||||
<div class="footer-brand">
|
||||
<a href="{% url 'pages:home' %}" class="footer-logo" aria-label="Tecvico home">
|
||||
<img src="{% static 'images/tecvico/brand-logo.svg' %}" alt="Tecvico" class="brand-icon" />
|
||||
{% include "partials/_brand_icon.html" with placement="footer" %}
|
||||
</a>
|
||||
<p class="footer-tagline">
|
||||
Join us in a world of<br />
|
||||
|
||||
@@ -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