0 Votes

Changes for page Nonwhite Privilege

Last modified by Ryan C on 2025/06/02 17:54

From version 127.1
edited by Ryan C
on 2025/05/03 16:37
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
... ... @@ -93,7 +93,32 @@
93 93  
94 94  == Images and Videos ==
95 95  
96 -
97 97  {{carousel/}}
98 98  
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 +
99 99  {{putFootnotes/}}