0 Votes

Changes for page Euroweek

Last modified by Ryan C on 2025/06/25 18:28

From version 17.1
edited by Ryan C
on 2025/03/10 15:17
Change comment: There is no comment for this version
To version 20.1
edited by Ryan C
on 2025/03/10 15:19
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -71,17 +71,17 @@
71 71  
72 72  == Videos and Images {{id name="videos-and-images"/}} ==
73 73  
74 -~{~{velocity}}
74 +{{velocity}}
75 75  #set ($attachments = $doc.getAttachmentList())
76 -~{~{gallery}}
76 +
77 +{{gallery}}
77 77  #foreach ($attachment in $attachments)
78 - #if($attachment.filename.endsWith('.jpg') || $attachment.filename.endsWith('.png'))
79 - image~:$attachment.filename
80 - #end
79 +  #if ($attachment.filename.endsWith('.jpg') || $attachment.filename.endsWith('.png') || $attachment.filename.endsWith('.webp'))
80 +    image:$attachment.filename
81 +  #end
81 81  #end
82 -~{~{/gallery}}
83 -~{~{/velocity}}
84 -
83 +{{/gallery}}
84 +{{/velocity}}
85 85  
86 86  === Relevant Videos {{id name="relevant-videos"/}} ===
87 87