~xdavidwu/xdavidwu.link

15ec1af44c56ae874b2e9f6b62c657bfc5b1286a — iBug ♦ 4 years ago 6e3827d
Fix compatibility issue with paginate V2 introduced by mmistakes/minimal-mistakes#2378 (#2381)

1 files changed, 1 insertions(+), 1 deletions(-)

M _layouts/home.html
M _layouts/home.html => _layouts/home.html +1 -1
@@ 6,7 6,7 @@ layout: archive

<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 %}