diff --git a/_layouts/home.html b/_layouts/home.html index d1428ebb..fa098d87 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -6,7 +6,13 @@ layout: archive

{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}

-{% for post in paginator.posts %} +{% if site.paginate %} + {% assign posts = paginator.posts %} +{% else %} + {% assign posts = site.posts %} +{% endif %} + +{% for post in posts %} {% include archive-single.html %} {% endfor %}