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