sidenav

sidenav

{% comment %}
*
*  This loop loops through a category of your choice and lists
*  all entries. To address the category of your linking use the
*  include like this:
*
*  {% include sidenav category='seminare' heading='Unsere Themen & Seminare' %}
*
{% endcomment %}

<ul class="side-nav">
<li class="heading">{{ include.heading }}</li>
<li class="divider"></li>
{% for entry in site.categories[include.category] reversed %}
{% unless page.published == false %}<li{% if entry.url == page.url %} class="active"{% endif %}><a href="{{ site.url }}{{ site.baseurl }}{{ entry.url }}" title="{{ entry.title | escape }}">{{ entry.title | escape }}</a></li>{% endunless %}{% endfor %}
</ul>