diff --git a/_layouts/post.html b/_layouts/post.html index 57976ba63e31..769355b9dcde 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -17,7 +17,7 @@ -{% assign postsByYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %} +{% assign postsByYear = site.posts | where_exp: "item", "item.hidden != true" | group_by_exp: 'post', 'post.date | date: "%Y"' %} {% for year in postsByYear %}

{{ year.name }}