Tweaked page slug
All checks were successful
Build Site / Build-Site (18.x) (push) Successful in 54s
All checks were successful
Build Site / Build-Site (18.x) (push) Successful in 54s
This commit is contained in:
parent
cc848bf06f
commit
294956f8e7
@ -1,6 +1,5 @@
|
|||||||
---
|
---
|
||||||
import Layout from "../../layouts/Layout.astro";
|
import Layout from "../../layouts/Layout.astro";
|
||||||
import Divider from "../../components/misc/Divider.astro";
|
|
||||||
import BlogProjectCard from "../../components/misc/BlogProjectCard.astro";
|
import BlogProjectCard from "../../components/misc/BlogProjectCard.astro";
|
||||||
|
|
||||||
export async function getStaticPaths({ paginate }: { paginate: any }) {
|
export async function getStaticPaths({ paginate }: { paginate: any }) {
|
||||||
@ -10,7 +9,7 @@
|
|||||||
new Date(a.frontmatter.date).valueOf()
|
new Date(a.frontmatter.date).valueOf()
|
||||||
);
|
);
|
||||||
|
|
||||||
return paginate(posts, { pageSize: 10 });
|
return paginate(posts, { pageSize: 6 });
|
||||||
}
|
}
|
||||||
|
|
||||||
const { page } = Astro.props;
|
const { page } = Astro.props;
|
||||||
|
Loading…
Reference in New Issue
Block a user