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 %}