Skip to content

Commit 4943f9b

Browse files
committed
chore: point edit page link to main branch
1 parent dedac5f commit 4943f9b

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/pages/[lang]/[...slug].astro

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,9 @@ const { prev, next } = getAdjacentPages(
203203
version
204204
);
205205
206-
// TODO: change the url when finish the redesign, this is just a temporary solution to avoid broken links for translated pages
207206
const editUrl = isTranslation
208-
? `https://github.com/expressjs/expressjs.com/blob/redesign/docs/i18n.md`
209-
: `https://github.com/expressjs/expressjs.com/edit/redesign/src/content/${page.collection}/${page.id}${fileExt}`;
207+
? `https://github.com/expressjs/expressjs.com/blob/main/docs/i18n.md`
208+
: `https://github.com/expressjs/expressjs.com/edit/main/src/content/${page.collection}/${page.id}${fileExt}`;
210209
---
211210

212211
<DocLayout

0 commit comments

Comments
 (0)