... |
... |
@@ -96,18 +96,13 @@ |
96 |
96 |
{{velocity}} |
97 |
97 |
#set($attachments = $doc.getAttachmentList()) |
98 |
98 |
|
99 |
|
-#macro(imageentry $filename) |
100 |
|
-#if($filename.endsWith(".jpg") || $filename.endsWith(".png") || $filename.endsWith(".webp")) |
101 |
|
- image:$doc.space/$doc.name/WebHome@$escapetool.url($filename) |
102 |
|
-#end |
103 |
|
-#end |
104 |
|
- |
105 |
105 |
{{gallery}} |
106 |
106 |
#foreach($attachment in $attachments) |
107 |
|
- #imageentry($attachment.filename) |
|
101 |
+ #if($attachment.filename.endsWith(".jpg") || $attachment.filename.endsWith(".png") || $attachment.filename.endsWith(".webp")) |
|
102 |
+ image:$attachment.filename |
|
103 |
+ #end |
108 |
108 |
#end |
109 |
109 |
{{/gallery}} |
110 |
110 |
{{/velocity}} |
111 |
111 |
|
112 |
|
- |
113 |
113 |
{{putFootnotes/}} |