aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/notes
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-09-30 15:01:07 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-09-30 15:01:07 +0300
commitbbff552268514353d8c6d5e99e0c030f6b56078d (patch)
treef9a826145d876e7dc6130e3a3a39f3933472c03a /notes
parentminor markup & wording fixes (diff)
downloadblog-bbff552268514353d8c6d5e99e0c030f6b56078d.tar.gz
blog-bbff552268514353d8c6d5e99e0c030f6b56078d.zip
sort notes by title
Diffstat (limited to '')
-rw-r--r--notes/index.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/notes/index.html b/notes/index.html
index 2cfa42c..0ceb78c 100644
--- a/notes/index.html
+++ b/notes/index.html
@@ -11,10 +11,11 @@ navbar_priority: 3
{% if site.notes.size != 0 %}
<p>This is a complete list of notes I maintain for my personal usage.</p>
<ul>
- {% for note in site.notes %}
+ {% assign note_list = site.notes | sort: 'title' %}
+ {% for note in note_list %}
<li><a href="{{ site.baseurl }}{{ note.url }}">{{ note.title }}</a></li>
{% endfor %}
</ul>
{% else %}
- <p>No notes have been added yet.</p>
+ <p>Sorry, no notes have been added yet.</p>
{% endif %}