aboutsummaryrefslogblamecommitdiffstats
path: root/view/tpl/item_categories.tpl
blob: 68f8944bc0c8b90970091789b660867f327b1f0f (plain) (tree)
1
2
3
4
5
6
7
8
                  
                               
                               
                                                                                                                                                                                                                    
            
           

       
{{if $categories}}
<!--div class="categorytags"-->
{{foreach $categories as $cat}}
<span class="item-category badge rounded-pill bg-warning text-dark"><i class="fa fa-asterisk"></i>&nbsp;{{if $cat.url}}<a class="text-dark" href="{{$cat.url}}">{{$cat.term}}</a>{{else}}{{$cat.term}}{{/if}}</span>
{{/foreach}}
<!--/div-->
{{/if}}