Skip to content

Commit 14ecd04

Browse files
fix multi post issue
1 parent 0acd6d9 commit 14ecd04

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

_posts/2026/2026-01-26.md renamed to _posts/2026/2026-01-26-rails-release-report.md

File renamed without changes.

index.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,14 @@ Find the next meeting that should be displayed:
1919
{% endif %}
2020

2121
{% if next %}
22-
{% assign talks = site.posts | where_exp: "post", "post.date == next.date" %}
22+
{% assign talks = "" | split: "" %}
23+
{% assign next_date_string = next.date | date: "%Y-%m-%d" %}
24+
{% for post in site.posts %}
25+
{% assign post_date_string = post.date | date: "%Y-%m-%d" %}
26+
{% if post_date_string == next_date_string %}
27+
{% assign talks = talks | push: post %}
28+
{% endif %}
29+
{% endfor %}
2330

2431
<div class="bg-white rounded-lg shadow-lg p-6 mb-8">
2532
{% if next.type == "event" %}

0 commit comments

Comments
 (0)