Skip to content

Commit c0c0860

Browse files
committed
Don't repeat the first blog post in listing
Signed-off-by: cjyabraham <[email protected]>
1 parent 5bf0f5e commit c0c0860

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

_layouts/blog.html

+5
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ <h1 class="blog-index-title">
3636
<div class="row blog-vertical">
3737

3838
{% for post in posts %}
39+
40+
{% if forloop.first %}
41+
{% continue %}
42+
{% endif %}
43+
3944
<div class="vertical-blog-container">
4045
<div class="col-md-4">
4146
<p class="blog-date">{{ post.date | date: '%B %d, %Y' }}</p>

0 commit comments

Comments
 (0)