aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/notes/index.html
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-06 22:23:54 +0200
committerEgor Tensin <egor@tensin.name>2026-06-06 22:24:45 +0200
commitbe5e0048913797f2ef91065908730da025113c34 (patch)
treedd16e4908bb93953dbc823d7624f76c363a00bf4 /src/notes/index.html
parentbump dependencies (diff)
downloadblog-be5e0048913797f2ef91065908730da025113c34.tar.gz
blog-be5e0048913797f2ef91065908730da025113c34.zip
move Jekyll source files to src/
Diffstat (limited to 'src/notes/index.html')
-rw-r--r--src/notes/index.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/notes/index.html b/src/notes/index.html
new file mode 100644
index 0000000..ca9b941
--- /dev/null
+++ b/src/notes/index.html
@@ -0,0 +1,26 @@
+---
+title: Notes
+navbar:
+ link: Notes
+ priority: 2
+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>&nbsp;<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 %}