Remove pagination

This commit is contained in:
Leilukin 2024-04-18 02:37:10 +08:00 committed by Helen Chong
parent 7d5bb6a9c6
commit df1d0f98c3

View File

@ -1,9 +1,4 @@
--- ---
pagination:
data: collections.posts
size: 10
alias: postList
reverse: true
title: Blog Archive title: Blog Archive
layout: main/content layout: main/content
tags: blog pages tags: blog pages
@ -12,7 +7,7 @@ eleventyComputed:
--- ---
<ul class="blog__postlist"> <ul class="blog__postlist">
{% for post in postList %} {% for post in collections.posts | reverse %}
<li class="blog__postlist--item"> <li class="blog__postlist--item">
<h2 class="blog__postlist--title"> <h2 class="blog__postlist--title">
<a href="{{ post.url }}"> <a href="{{ post.url }}">