aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/notes
diff options
context:
space:
mode:
Diffstat (limited to 'notes')
-rw-r--r--notes/index.html12
1 files changed, 1 insertions, 11 deletions
diff --git a/notes/index.html b/notes/index.html
index da03827..1351be1 100644
--- a/notes/index.html
+++ b/notes/index.html
@@ -5,18 +5,8 @@ navbar:
priority: 3
---
{% 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' %}
<p>Style guides and best practices, not worthy of a post.</p>
- <div class="list-group wide-enough">
- {% for note in note_list %}
- <a href="{{ note.url | relative_url }}" class="list-group-item">
- <h4 class="list-group-item-heading">{{ note.title }} <small>{{ note.subtitle }}</small></h4>
- </a>
- {% endfor %}
- </div>
+ {% include notes.html %}
{% else %}
<p>Sorry, no notes have been added yet.</p>
{% endif %}