blob: ca9b94139ea298d88572e2b008fcc490ce3b7859 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 %}
|