Skip to content

Commit 038d2c3

Browse files
Update index.md
1 parent a124449 commit 038d2c3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@ description: "Computers 2030–2040: quantum revolution, brain-computer interfac
1010
</div>
1111

1212
<div class="posts-grid">
13-
{% assign sorted_posts = site.posts | reverse %}
13+
{% assign sorted_posts = site.posts | where: "show_on_home", true | reverse %}
1414
{% for post in sorted_posts %}
15-
{% assign first_image = post.content | split:'src="' | slice:1 | first | split:'"' | first %}
1615

1716
<article class="post-card">
1817
<a href="{{ post.url }}">
1918
<div class="post-thumb-wrapper">
20-
<img src="{{ first_image }}" alt="{{ post.title }}" class="post-thumb">
19+
<img src="{{ post.cover }}" alt="{{ post.title }}" class="post-thumb">
2120
</div>
2221
<div class="post-info">
2322
<h2>{{ post.title | split: ". " | last }}</h2>
@@ -26,9 +25,10 @@ description: "Computers 2030–2040: quantum revolution, brain-computer interfac
2625
</div>
2726
</a>
2827
</article>
28+
2929
{% endfor %}
3030
</div>
3131

3232
<div class="made-with">
3333
<p>All images • Full offline • No tracking • Built December 2025</p>
34-
</div>
34+
</div>

0 commit comments

Comments
 (0)