{% comment %} Sorting can be done in _config.yml with Jekyll 4.0 or later. {% endcomment %} {% assign note_list = site.notes | sort_natural: 'title' %}
{% assign h = 'h4' %} {% if include.sidebar %} {% assign h = 'h5' %} {% endif %} {% if include.sidebar %}

notes

{% endif %} {% for note in note_list %} <{{ h }} class="list-group-item-heading" style="display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-grap: .5em;"> {{ note.title }} {{ note.subtitle }} {% endfor %}