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