diff --git a/docs/_layouts/home.html b/docs/_layouts/home.html index cb7ef47..73ae486 100644 --- a/docs/_layouts/home.html +++ b/docs/_layouts/home.html @@ -3,7 +3,12 @@ ---
- {%- assign posts = site.posts -%} + {%- if site.paginate -%} + {%- assign posts = paginator.posts -%} + {%- else -%} + {%- assign posts = site.posts -%} + {%- endif -%} + {%- assign date_format = site.minima.date_format -%} {%- if posts.size > 0 -%}