aboutsummaryrefslogtreecommitdiff
path: root/examples/docs/src/layouts/MainLayout.astro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/docs/src/layouts/MainLayout.astro')
-rw-r--r--examples/docs/src/layouts/MainLayout.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/docs/src/layouts/MainLayout.astro b/examples/docs/src/layouts/MainLayout.astro
index 931b75dba..329ea7efb 100644
--- a/examples/docs/src/layouts/MainLayout.astro
+++ b/examples/docs/src/layouts/MainLayout.astro
@@ -17,7 +17,7 @@ type Props = CollectionEntry<'docs'>['data'] & {
const { headings, ...data } = Astro.props;
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
const currentPage = Astro.url.pathname;
-const currentFile = `src/pages${currentPage.replace(/\/$/, '')}.md`;
+const currentFile = `src/content/docs${currentPage.replace(/\/$/, '')}.md`;
const githubEditUrl = `${GITHUB_EDIT_URL}/${currentFile}`;
---