--- title: Notes navbar: link: Notes priority: 3 layout: default sidebar: notes: hide: true --- <h1>{% include jekyll-theme/categories/label.html category='Notes' monospace=true %}</h1> {% if site.notes.size > 0 %} {% comment %} Sorting can be done in _config.yml with Jekyll 4.0 or later. {% endcomment %} {% assign note_list = site.notes | sort_natural: 'title' %} {% for note in note_list %} <a href="{{ note.url | relative_url }}" class="feed-entry"> {% capture title %}<h5 class="text-monospace">{{ note.title }}</h5>{% endcapture %} {% capture label %}<p><span class="glyphicon glyphicon-menu-right"></span> <span class="text-monospace">{{ note.subtitle }}</span></p>{% endcapture %} {% include jekyll-theme/flex-header.html title=title right=label %} </a> {% endfor %} {% else %} <p>Sorry, no notes have been added yet.</p> {% endif %}