Skip to content

Commit f48133a

Browse files
committed
fix(doc): Fix toc and artalk not working
1 parent 1268131 commit f48133a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/app/(group)/archives/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default async function ArchivesPage() {
7777
>
7878
{data.categories.length !== 0 && (
7979
<section>
80-
<Heading level={2}>
80+
<Heading name="category" slug="category" link="#category" level={2}>
8181
{t("category.name")}
8282
</Heading>
8383
<List type="unordered" direction="vertical">
@@ -93,7 +93,7 @@ export default async function ArchivesPage() {
9393
)}
9494
{data.archives.length !== 0 && (
9595
<section>
96-
<Heading level={2}>
96+
<Heading name="archive" slug="archive" link="#archive" level={2}>
9797
{t("archive.name")}
9898
</Heading>
9999
<List type="unordered" direction="vertical">
@@ -109,7 +109,7 @@ export default async function ArchivesPage() {
109109
)}
110110
{data.tags.length !== 0 && (
111111
<section>
112-
<Heading level={2}>
112+
<Heading name="tag" slug="tag" link="#tag" level={2}>
113113
{t("tag.name")}
114114
</Heading>
115115
<List type="unordered" direction="horizontal">

0 commit comments

Comments
 (0)