--- layout: default --- {% comment %} This template works closely with the groups used by the plugin jekyll-groupby. {% endcomment %}
{{ page.title }}
{% assign num_posts = page.posts | size %} {{ num_posts }} {% if num_posts > 1 %} posts {% else %} post {% endif %} {% if site.data[page.group].matchline %} {{ site.data[page.group].matchline }} {% else %} in this {{ page.group }} {% endif %}
{% assign group_data = site.data[page.group].items | where: "name", page.slug | first %} {% if group_data %}{{ group_data.content }}