... |
... |
@@ -93,30 +93,6 @@ |
93 |
93 |
|
94 |
94 |
== Images and Videos == |
95 |
95 |
|
96 |
|
-{{velocity}} |
97 |
|
-#panelheader('Gallery') |
98 |
98 |
|
99 |
|
-#set($attachments = $doc.getAttachmentList()) |
100 |
|
-#set($imageCount = 0) |
101 |
101 |
|
102 |
|
-#foreach($attachment in $attachments) |
103 |
|
- #if($attachment.filename.endsWith(".jpg") || $attachment.filename.endsWith(".png") || $attachment.filename.endsWith(".webp")) |
104 |
|
- #set($imageCount = $imageCount + 1) |
105 |
|
- #end |
106 |
|
-#end |
107 |
|
- |
108 |
|
-#if($imageCount > 0) |
109 |
|
- {{gallery}} |
110 |
|
- #foreach($attachment in $attachments) |
111 |
|
- #if($attachment.filename.endsWith(".jpg") || $attachment.filename.endsWith(".png") || $attachment.filename.endsWith(".webp")) |
112 |
|
- image:$attachment.filename |
113 |
|
- #end |
114 |
|
- #end |
115 |
|
- {{/gallery}} |
116 |
|
-#end |
117 |
|
- |
118 |
|
-#panelfooter() |
119 |
|
-{{/velocity}} |
120 |
|
- |
121 |
|
- |
122 |
122 |
{{putFootnotes/}} |