1313 <div class =" card" >
1414 <tal : image tal : define ="
1515 image element/image;
16- "
17- tal : condition =" image"
18- tal : on-error =" nothing"
19- >
16+ " tal : condition =" image" tal : on-error =" nothing" >
2017 <img tal : define ="
2118 images element/@@images;
22- "
23- tal : replace =" structure python:images.srcset(fieldname='image',
19+ " tal : replace =" structure python:images.srcset(fieldname='image',
2420 scale_in_src='huge',
2521 sizes='(min-width: 1400px) 400px, 100vw',
2622 alt=element.Title() ,
2723 title=element.Title(),
2824 fetchpriority=fetchpriority_image_value,
29- loading=loading_image_value)"
30- />
25+ loading=loading_image_value)" />
3126 </tal : image >
3227 <div class =" card-body" >
33- <a class =" h5 card-title stretched-link"
34- href =" ${element/absolute_url}"
35- >${element/Title}</a >
36- <p class =" mb-3"
37- tal : condition =" python:element.portal_type != 'Event'"
38- tal : content =" python:element.toLocalizedTime(element.EffectiveDate())"
39- ></p >
40- <p class =" mb-3"
41- tal : condition =" python:element.portal_type == 'Event'"
42- tal : content =" python:element.toLocalizedTime(element.start)"
43- ></p >
28+ <a class =" h5 card-title stretched-link" href =" ${element/absolute_url}" >${element/Title}</a >
29+ <p class =" mb-3" tal : condition =" python:element.portal_type != 'Event'"
30+ tal : content =" python:element.toLocalizedTime(element.EffectiveDate())" ></p >
31+ <p class =" mb-3" tal : condition =" python:element.portal_type == 'Event'"
32+ tal : content =" python:element.toLocalizedTime(element.start)" ></p >
4433
4534 <p class =" card-text" >${element/Description}</p >
4635 </div >
4736 </div >
4837 </div >
49-
5038 </tal : define >
5139 </tal : repeat >
5240 </div >
5341 <div class =" d-flex justify-content-end" >
54- <a href =" ${context/link_url}"
55- tal : condition =" context/link_url"
56- >${context/link_text}</a >
42+ <a href =" ${context/link_url}" tal : condition =" context/link_url" >${context/link_text}</a >
5743 </div >
58-
59- </tal : define >
44+ </tal : define >
0 commit comments