Skip to content

Commit

Permalink
Fix compatibility issue with paginate V2 introduced by #2378 (#2381)
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug authored and mmistakes committed Jan 25, 2020
1 parent ec0b288 commit 82a71a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>

{% if site.paginate %}
{% if paginator %}
{% assign posts = paginator.posts %}
{% else %}
{% assign posts = site.posts %}
Expand Down

0 comments on commit 82a71a5

Please # to comment.