From e2b0fb7579ba90aec255ec260c2766f1e8e35cef Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 24 Mar 2022 10:20:38 +0300 Subject: notes: reformat, add subtitles --- notes/index.html | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'notes') diff --git a/notes/index.html b/notes/index.html index db65de9..da03827 100644 --- a/notes/index.html +++ b/notes/index.html @@ -4,17 +4,19 @@ navbar: link: Notes priority: 3 --- -{% if site.notes.size != 0 %} +{% 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' %}

Style guides and best practices, not worthy of a post.

- + {% else %}

Sorry, no notes have been added yet.

{% endif %} -- cgit v1.2.3