UI: 2024 Hero component options #103971
@ -68,15 +68,15 @@ meta(name='twitter:image', content='{{request.scheme}}://{{request.META.HTTP_HOS
|
||||
| {% endif %}
|
||||
|
||||
.row
|
||||
| {% if object.picture and not object.recording %}
|
||||
.col-md-3
|
||||
| {% thumbnail object.picture "480x270" crop="50%" format="JPEG" as picture %}
|
||||
a(href="{{ picture.url }}")
|
||||
img.rounded.img-fluid(src='{{ picture.url }}', alt="{{ object.name }}")
|
||||
| {% endthumbnail %}
|
||||
| {% endif %}
|
||||
| {% if object.picture and not object.recording %}
|
||||
.col-md-3
|
||||
| {% thumbnail object.picture "480x270" crop="50%" format="JPEG" as picture %}
|
||||
a(href="{{ picture.url }}")
|
||||
img.rounded.img-fluid(src='{{ picture.url }}', alt="{{ object.name }}")
|
||||
| {% endthumbnail %}
|
||||
| {% endif %}
|
||||
|
||||
div(class="col-md-{% if object.picture and not object.recording %}9{% else %}12{% endif %}")
|
||||
div(class="col-md-{% if object.picture and not object.recording %}9{% else %}12{% endif %}")
|
||||
|
||||
h3.mb-3 {{ object.name }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user