Tag Detail - Code Sample

Here is some example code to build a tag detail page for the gallery. This is just an example and you have the flexibility to lay out the page to suit your own design.

Below is a screenshot of the layout that this code will build. 

HTML:

Below is the HTML / Branch code that would go in the Template field for the Tag Detail content template.

<div class="tag-wrap">
  <span style="font-size:16px;">
    Items with the tag <strong><em>{#tag.tagName}</em></strong>
  </span>

  <ul class="tag-items">
    {loop items="#tag.items" value="item"}
      <li><a href="{#item.url}">{#item.name}</a>
    {/loop}
  </ul>

</div>