0 Votes

Changes for page Nonwhite Privilege

Last modified by Ryan C on 2025/05/11 22:45

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 128.1
edited by Ryan C
on 2025/05/03 17:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -93,7 +93,30 @@
93 93  
94 94  == Images and Videos ==
95 95  
96 +{{velocity}}
97 +#panelheader('Gallery')
96 96  
97 -{{carousel/}}
99 +#set($attachments = $doc.getAttachmentList())
100 +#set($imageCount = 0)
98 98  
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 +
99 99  {{putFootnotes/}}