Am building a blog. I have two blog posts in _posts and am using a loop to render all posts. The first chronological post is rendered in the blog page but not the second post.
I thought it was a loop issue. However, when I removed the first chronological post from _posts, leaving only the second post the second post is not rendered. Am using jekyll build --watch and there are no relevant error messages when attempting to render either both posts or only the second post.
Have tried both making the second post unique and making it a copy of the first post (with changes to name). No console errors. All other tags work.
_post contents:
2025-03-17-Mid-March-Update.md
2025-04-28-Recruitment.md
respective front matter
layout: post
title: Mid-March-Update
layout: post
title: Recruitment
<blog-two-columns>
<blog-aside-recent-posts>
<h4>Recent posts</h4>
<blog-title-list>
{% for post in site.posts limit:5 %}
<list-item><a href="{{ post.url }}">{{ post.title }}</a></list-item>
<list-item>Posted: {{ post.date | date: '%B %d, %Y' }}</list-item>
{% endfor %}
</blog-title-list>
</blog-aside-recent-posts>
<blog-previews>
{% for post in site.posts %}
<blog-index-card>
<card-container>
<card-image-top><img src="/images/{{ post.postHero }}"></card-image-top>
<card-bottom>
<card-title><a href="{{ post.url }}">{{ post.title }}</a></card-title>
<card-subtitle></card-subtitle>
<card-excerpt>
{{ post.excerpt }}
</card-excerpt>
<card-meta-list>
<card-meta-list-item><card-meta-icon></card-meta-icon></card-meta-list-item>
<card-meta-list-item><card-meta-text><a href="{{ post.authorTwitter }}">{{ post.author }}</a></card-meta-text></card-meta-list-item>
<card-meta-list-item><card-meta-text><bullet> • </bullet>{{ post.date | date: '%B %d, %Y' }}</card-meta-text></card-meta-list-item>
</card-meta-list>
</card-bottom>
<a href="">Read more</a>
</card-container>
</blog-index-card>
{% endfor %}
</blog-previews>
</blog-two-columns>