aboutsummaryrefslogtreecommitdiff
path: root/packages/astro/test/fixtures/content/src/pages/with-layout-prop.astro
diff options
context:
space:
mode:
Diffstat (limited to 'packages/astro/test/fixtures/content/src/pages/with-layout-prop.astro')
-rw-r--r--packages/astro/test/fixtures/content/src/pages/with-layout-prop.astro9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/astro/test/fixtures/content/src/pages/with-layout-prop.astro b/packages/astro/test/fixtures/content/src/pages/with-layout-prop.astro
new file mode 100644
index 000000000..4cbb87624
--- /dev/null
+++ b/packages/astro/test/fixtures/content/src/pages/with-layout-prop.astro
@@ -0,0 +1,9 @@
+---
+import { getEntryBySlug } from 'astro:content';
+import H3 from '../components/H3.astro';
+
+const entry = await getEntryBySlug('blog', 'with-layout-prop');
+const { Content } = await entry.render();
+---
+<H3>H3 directly inserted to the page</H3>
+<Content /> \ No newline at end of file