Skip to content

Commit 3aab5a1

Browse files
committed
修复导入
1 parent 5e8f20b commit 3aab5a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/blog/[page].astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
titleToPinyin,
88
} from "../../utils/utils";
99
import BlogLayout from "../../layouts/BlogLayout.astro";
10-
import OnThisPage from "../../components/OnThisPage.astro";
10+
import OnThisPages from "../../components/OnThisPages.astro";
1111
1212
export const getStaticPaths = async () => {
1313
const blogs = await getCollectionOrderByDate("blog", ({ data }) => {
@@ -65,7 +65,7 @@ const readTimeMin = Math.ceil(fontNum / MIN_READ_COUNT);
6565
<Content />
6666
</Prose>
6767
</article>
68-
<OnThisPage headings={articleHeadings} />
68+
<OnThisPages headings={articleHeadings} />
6969
<script
7070
src="https://giscus.app/client.js"
7171
data-repo="LingLambda/linglambda.github.io"

0 commit comments

Comments
 (0)