--- title: Notes navbar: link: Notes priority: 3 --- {% if site.notes.size != 0 %} <p>Style guides and best practices, not worthy of a post.</p> <ul> {% comment %} Sorting can be done in _config.yml with Jekyll 4.0 or later. {% endcomment %} {% assign note_list = site.notes | sort: 'title' %} {% for note in note_list %} <li><a href="{{ note.url | relative_url }}">{{ note.title }}</a></li> {% endfor %} </ul> {% else %} <p>Sorry, no notes have been added yet.</p> {% endif %}