{% if categories %}
	{% for category in categories %}
	<li><a href="{{ category.href }}">{{ category.name }}</a>
		{% if category.children %}
		<ul>
			 {% for children in category.children %}
			 <li><a href="{{ children.href }}">{{ children.name }}</a> </li>
			 {% endfor %}
		</ul>
		{% endif %}
	
	</li>
	
	{% endfor %}
	
{% endif %}

{# 
	{% if category.children %}
	<li><a href="{{ category.href }}">{{ category.name }}</a>
	 {% for children in category.children %}
	  <ul>
		{% for child in children %}
		<li><a href="{{ child.href }}">{{ child.name }}</a></li>
		{% endfor %}
	  </ul>
	  {% endfor %}
		
	</li>
	{% else %}
	<li><a href="{{ category.href }}">{{ category.name }}</a></li>
	{% endif %}



	{% endfor %}
     
{% endif %} 
#}