Skip to content

Commit

Permalink
Fix compatibility issue with paginate V2 introduced by mmistakes#2378 (
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug authored and mmistakes committed Jan 25, 2020
1 parent 4240191 commit 9e81819
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 9e81819

Please sign in to comment.