Skip to content

Instantly share code, notes, and snippets.

@tbrooke
Created August 20, 2010 01:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbrooke/539390 to your computer and use it in GitHub Desktop.
Save tbrooke/539390 to your computer and use it in GitHub Desktop.
<!-- 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment