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