Skip to content

Commit 8e17dd6

Browse files
committed
fix
1 parent a5639a2 commit 8e17dd6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_includes/latest_posts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{%- assign latest_posts_size = site.posts | size -%}
55
<div class="table-responsive" {% if site.latest_posts.scrollable and latest_posts_size > 3 %}style="max-height: 60vw"{% endif %}>
66
<table class="table table-sm table-borderless">
7-
{%- assign latest_posts = site.posts -%}
7+
{%- assign latest_posts = site.posts | where: "date", ">=", "2025-01-01" | sort: 'date' | reverse -%}
88
{% if site.latest_posts.limit %}
99
{% assign latest_posts_limit = site.latest_posts.limit %}
1010
{% else %}

0 commit comments

Comments
 (0)