summaryrefslogtreecommitdiff
path: root/writing/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'writing/index.html')
-rw-r--r--writing/index.html12
1 files changed, 5 insertions, 7 deletions
diff --git a/writing/index.html b/writing/index.html
index 43de7f5..b7ad2a5 100644
--- a/writing/index.html
+++ b/writing/index.html
@@ -4,11 +4,9 @@ title: Ben Burwell’s Writing
description: A small collection of writing I’ve done on various topics over the years.
---
-{% for post in site.posts %}
- {% if post.type == "writing" %}
- <div class="writing">
- <h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
- <p>{{ post.description }}</p>
- </div>
- {% endif %}
+{% for post in site.categories.writing %}
+ <div class="writing">
+ <h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
+ <p>{{ post.description }}</p>
+ </div>
{% endfor %}