Skip to content

Commit 1a15329

Browse files
committed
Limit number of blog posts on front page to 5
1 parent 87e2711 commit 1a15329

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ <h2>About</h2>
2626
<div class="col-md-6">
2727
<h2>News</h2>
2828
<ul class="fa-ul">
29-
{% for post in site.posts %}
29+
{% for post in site.posts limit:5 %}
3030
<li>
3131
{% if post.type == "slideshow" %}
3232
<i class="fa-li fa fa-desktop"></i>

0 commit comments

Comments
 (0)