From da1cc0fd2b05e49aedb0ea686f082f72e67dd5f7 Mon Sep 17 00:00:00 2001 From: Jang Rush Date: Thu, 20 Jan 2022 04:18:58 +0800 Subject: [PATCH] fix: path error in sample markdown code (#2401) The path denoted in the markdown sample code is src/pages/index.md Thus, to refer to a layout component in src/layouts, we should use ../layouts/ instead of ../../layouts/. --- docs/src/pages/en/guides/markdown-content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/en/guides/markdown-content.md b/docs/src/pages/en/guides/markdown-content.md index 85d9b9ed8a..8050727f95 100644 --- a/docs/src/pages/en/guides/markdown-content.md +++ b/docs/src/pages/en/guides/markdown-content.md @@ -96,7 +96,7 @@ Markdown pages have a special frontmatter property for `layout`. This defines th ```markdown --- # src/pages/index.md -layout: ../../layouts/BaseLayout.astro +layout: ../layouts/BaseLayout.astro title: My cool page draft: false ---