{% comment %} This template works closely with the groups used by the plugin jekyll-groupby. {% endcomment %}
<aside class=“menu is-hidden-touch”>
{% for group in site.jekyll-groupby.groups %} <p class="menu-label"> {{ group.name }} </p> <ul class="menu-list"> {% for post in group.posts %} {% assign post_slug = post.name | slugify %} {% assign url = "/" | append: group.name | append: "/" | append: post_slug | append: ".html" %} <li> <a href="{{ url | relative_url }}"> {{ post.name }} </a> </li> {% endfor %} </ul> {% endfor %}
</aside>