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 chukycheese committed Sep 18, 2023
1 parent 098b434 commit 9e7ba4d
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 9e7ba4d

Please sign in to comment.