aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/notes/index.html
blob: a5452c007bbe861011287c714b9f4df2e8143ea1 (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
27
28
29
30
31
---
title: Notes
navbar:
  link: Notes
  priority: 3
layout: default
sidebar:
  notes:
    hide: true
---
<h1>{% include jekyll-theme/categories/label.html category='Notes' feed=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">
    <div class="post-header">
      <h5 class="text-monospace">{{ note.title }}</h5>
      <div class="post-date">
        <p class="text-muted font-size-90">
          <span class="glyphicon glyphicon-menu-right"></span>&nbsp;<span class="text-monospace">{{ note.subtitle }}</span>
        </p>
      </div>
    </div>
  </a>
  {% endfor %}
{% else %}
  <p>Sorry, no notes have been added yet.</p>
{% endif %}