0 Votes

Changes for page Nonwhite Privilege

Last modified by Ryan C on 2025/08/31 04:21

From version 134.1
edited by Ryan C
on 2025/05/04 09:29
Change comment: There is no comment for this version
To version 130.1
edited by Ryan C
on 2025/05/03 17:03
Change comment: There is no comment for this version

Summary

Details

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