Page tree
Skip to end of metadata
Go to start of metadata

Simple user macro to shows page's attachments with metadata (ID - title - version)

Online demo

  • 42927084 - attachments-list.png (Version - 1)



Source code


#set ($attachments = $action.page.attachments)
<ul>
      #foreach($a in $attachments )
        <li><strong>$a.id</strong> - <i>$a.title</i> (Version - $a.version)</li>
      #end
</ul>
  • No labels