We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5639a2 commit 8e17dd6Copy full SHA for 8e17dd6
1 file changed
_includes/latest_posts.html
@@ -4,7 +4,7 @@
4
{%- assign latest_posts_size = site.posts | size -%}
5
<div class="table-responsive" {% if site.latest_posts.scrollable and latest_posts_size > 3 %}style="max-height: 60vw"{% endif %}>
6
<table class="table table-sm table-borderless">
7
- {%- assign latest_posts = site.posts -%}
+ {%- assign latest_posts = site.posts | where: "date", ">=", "2025-01-01" | sort: 'date' | reverse -%}
8
{% if site.latest_posts.limit %}
9
{% assign latest_posts_limit = site.latest_posts.limit %}
10
{% else %}
0 commit comments