aboutsummaryrefslogblamecommitdiffstats
path: root/view/tpl/categories_widget.tpl
blob: a7be796d671a98a3e3880c387c1a66be3b7d528e (plain) (tree)
1
2
3
4
5
6
7
8
9
                                            

                                                         
 

                                                                                                                        
                                           
                                                                                                                                                                      
                            
             
 
      
<div id="categories-sidebar" class="widget">
	<h3>{{$title}}</h3>
	<div id="categories-sidebar-desc">{{$desc}}</div>

	<ul class="nav nav-pills flex-column">
		<li class="nav-item"><a href="{{$base}}" class="nav-link{{if $sel_all}} active{{/if}}">{{$all}}</a></li>
		{{foreach $terms as $term}}
		<li class="nav-item"><a  href="{{$base}}/?cat={{$term.name|escape:'url'}}" class="nav-link{{if $term.selected}} active{{/if}}">{{$term.name}}</a></li>
		{{/foreach}}
	</ul>

</div>