Skip to content

Instantly share code, notes, and snippets.

View tbrooke's full-sized avatar

Tom Brooke tbrooke

  • Brooke and Sons LLC
  • China Gove, NC 28023
View GitHub Profile
<!-- Used to display header for items from a related database that is conditional on items being present.
for_each will not display anything but this construct is required to eliminate the title reverse link
-->
<w:if condition="Events.self.count > 0">
<h3>Events</h3>
<w:for_each in="Events">
<h5><a href='<w:get name="in.path" url="/item_page"/>'><w:get name="in.name" /></a></h5>
</w:for_each>
</w:if>