initial commit
All checks were successful
Generate a build and push to Cloudflare Pages / Build and Deploy to Cloudflare Pages (push) Successful in 1m24s
All checks were successful
Generate a build and push to Cloudflare Pages / Build and Deploy to Cloudflare Pages (push) Successful in 1m24s
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
---
|
||||
import Breadcrumbs from '@/components/Breadcrumbs.astro'
|
||||
import PageHead from '@/components/PageHead.astro'
|
||||
import Search from '@/components/react/search'
|
||||
import PaginationComponent from '@/components/ui/pagination'
|
||||
import Search from '../../components/svelte/Search.svelte'
|
||||
import Pagination from '../../components/svelte/ui/Pagination.svelte'
|
||||
import Layout from '@/layouts/Layout.astro'
|
||||
import { getAllPosts } from '@/lib/data-utils'
|
||||
import type { PaginateFunction } from 'astro'
|
||||
@@ -52,7 +52,7 @@ const currentUrl = Astro.url;
|
||||
<Search client:load searchList={searchList} initialPosts={page.data} />
|
||||
</div>
|
||||
|
||||
<PaginationComponent
|
||||
<Pagination
|
||||
currentPage={page.currentPage}
|
||||
totalPages={page.lastPage}
|
||||
baseUrl="/blog/"
|
||||
|
||||
Reference in New Issue
Block a user