Fix compatibility issue with paginate V2 introduced by mmistakes/minimal-mistakes#2378 (#2381)
This commit is contained in:
parent
ec0b288f9e
commit
82a71a59f2
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ layout: archive
|
||||||
|
|
||||||
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
|
<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 %}
|
{% assign posts = paginator.posts %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign posts = site.posts %}
|
{% assign posts = site.posts %}
|
||||||
|
|
Loading…
Reference in a new issue