<li{% if slug == section %} class="active"{% endif %}> <a href="{% url 'hc-serve-doc' slug %}">{{ title }}</a> </li>