Allow using theme without pagination (#2378)
1 files changed, 7 insertions(+), 1 deletions(-) M _layouts/home.html
M _layouts/home.html => _layouts/home.html +7 -1
@@ 6,7 6,13 @@ layout: archive <h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3> {% 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 %}