Skip to content

Commit

Permalink
add jekyll-paginate - attempt_5
Browse files Browse the repository at this point in the history
  • Loading branch information
Miro0o committed Feb 6, 2024
1 parent 83e4c52 commit cc66c27
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@
{{ content }}

<div class="entries-{{ page.entries_layout | default: 'list' }}">
{%- if site.plugins contains 'jekyll-paginate' and page.paginate or site.gems contains 'jekyll-paginate' and page.paginate -%}
<!-- {%- if site.plugins contains 'jekyll-paginate' and page.paginate or site.gems contains 'jekyll-paginate' and page.paginate -%}
{%- comment -%}
Add paginator.posts loop if jekyll-paginate plugin is enabled
and page.paginate == true
{%- endcomment -%}
{% include posts-paginated.html %}
{%- else -%}
{% include posts-limit.html %}
{%- endif -%}
{%- endif -%} -->
{% include posts-paginated.html %}
</div>

0 comments on commit cc66c27

Please sign in to comment.