From 265a0fbbf8667d5cf6a3fbfd3956beeeb553e4de Mon Sep 17 00:00:00 2001 From: Kerby Martino Date: Sun, 4 May 2025 17:05:45 +0800 Subject: [PATCH] fix: Show all posts, not just by author --- _includes/user_posts.liquid | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/_includes/user_posts.liquid b/_includes/user_posts.liquid index 018d5d1..5596178 100644 --- a/_includes/user_posts.liquid +++ b/_includes/user_posts.liquid @@ -1,7 +1,8 @@

{{ page.author }}'s submissions

{% comment %} Filter posts by the author specified in the page front matter {% endcomment %} -{% assign user_posts = site.posts | where: "author", page.author | sort: 'date' | reverse %} +{% comment %}{% assign user_posts = site.posts | where: "author", page.author | sort: 'date' | reverse %}{% endcomment %} +{% assign user_posts = site.posts | sort: 'date' | reverse %}
{% if user_posts.size > 0 %} @@ -11,16 +12,8 @@
- +
- {% assign post_type = post.type | default: 'unknown' %} - {% if post_type == "frustration" %} - Frustration - {% elsif post_type == "weird" %} - Weird - {% elsif post_type == "win" %} - Win - {% endif %}