{{if $categories}} <div class="filesavetags"> {{foreach $categories as $cat}} <span class="item-category"><i class="icon-folder-close cat-icons"></i> {{$cat.term}} <a href="{{$cat.removelink}}" class="category-remove-link" title="{{$remove}}"><i class="icon-remove drop-icons"></i></a></span> {{/foreach}} </div> {{/if}}