diff options
Diffstat (limited to 'notes/index.html')
-rw-r--r-- | notes/index.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/notes/index.html b/notes/index.html new file mode 100644 index 0000000..ca9b941 --- /dev/null +++ b/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> <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 %} |