0 Votes

Changes for page Nonwhite Privilege

Last modified by Ryan C on 2025/07/17 21:02

From version 112.1
edited by Ryan C
on 2025/05/03 15:56
Change comment: There is no comment for this version
To version 116.1
edited by Ryan C
on 2025/05/03 16:18
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -93,8 +93,17 @@
93 93  
94 94  == Images and Videos ==
95 95  
96 +{{velocity}}
97 +#set($attachments = $doc.getAttachmentList())
96 96  {{gallery}}
97 -
99 +#foreach($attachment in $attachments)
100 + #set($filename = $escapetool.url($attachment.filename))
101 + #if($filename.endsWith(".jpg") || $filename.endsWith(".png") || $filename.endsWith(".webp"))
102 + image:$doc.fullName.WebHome@$filename
103 + #end
104 +#end
98 98  {{/gallery}}
106 +{{/velocity}}
99 99  
108 +
100 100  {{putFootnotes/}}

XWiki AI Chat