Skip to content

Commit 36e1af3

Browse files
committed
fix: blog list and changelog list
1 parent abdf84e commit 36e1af3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pages/blog.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function BlogHeader() {
2222
}
2323

2424
export function BlogIndex() {
25-
const pages = getPagesUnderRoute("/zh/blog");
25+
const pages = getPagesUnderRoute("/blog");
2626
pages.sort((a, b) => {
2727
if (a.frontMatter?.date && b.frontMatter?.date) {
2828
return new Date(b.frontMatter.date) - new Date(a.frontMatter.date);

pages/changelog.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function ChangelogHeader() {
2424
}
2525

2626
export function ChangelogIndex() {
27-
const pages = getPagesUnderRoute("/zh/changelog");
27+
const pages = getPagesUnderRoute("/changelog");
2828
pages.sort((a, b) => {
2929
if (a.frontMatter?.date && b.frontMatter?.date) {
3030
return new Date(b.frontMatter.date) - new Date(a.frontMatter.date);

0 commit comments

Comments
 (0)