aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/notes.html
blob: 77834908b3f9f896ad38a2428754b73e6dc3d8aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{% comment %}
  Sorting can be done in _config.yml with Jekyll 4.0 or later.
{% endcomment %}
{% assign note_list = site.notes | sort_natural: 'title' %}
<div class="list-group wide-enough">
  <div class="list-group-item disabled">
    <h4 class="list-group-item-heading">notes</h4>
  </div>
  {% for note in note_list %}
  <a href="{{ note.url | relative_url }}" class="list-group-item">
    <h5 class="list-group-item-heading post-header">
      <span>{{ note.title }}</span>
      <small class="post-date"><span class="glyphicon glyphicon-menu-right"></span>&nbsp;{{ note.subtitle }}</small>
    </h5>
  </a>
  {% endfor %}
</div>