diff options
Diffstat (limited to '')
-rw-r--r-- | _config.yml | 3 | ||||
-rw-r--r-- | notes/index.html | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/_config.yml b/_config.yml index 14435ab..33a7233 100644 --- a/_config.yml +++ b/_config.yml @@ -10,7 +10,8 @@ exclude: collections: notes: output: true - sort_by: title # Doesn't work? + # Jekyll 4.0 or later: + #sort_by: title defaults: - scope: diff --git a/notes/index.html b/notes/index.html index 99b1f6e..034941d 100644 --- a/notes/index.html +++ b/notes/index.html @@ -8,6 +8,9 @@ navbar_priority: 3 {% if site.notes.size != 0 %} <p>This is a complete list of notes I maintain for my personal usage.</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> |