Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion website/src/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ function MDXContent({ toc: headings, children }: ComponentPropsWithoutRef<Nextra
(() => {
const [_src, _pages, locale, ...segments] = filePath.split('/')
// If the current page is in a language other than English, link to the English version, as translations are handled by Crowdin
return `https://github.com/graphprotocol/docs/blob/main/website/src/pages/${
return `https://github.com/graphprotocol/docs/blob/main/website/pages/${
locale === 'en' || locale === '[locale]' ? encodeURIComponent(locale) : 'en'
}/${segments.join('/')}`
})()
Expand Down
Loading