diff options
Diffstat (limited to 'src/pages/test.astro')
| -rw-r--r-- | src/pages/test.astro | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/pages/test.astro b/src/pages/test.astro new file mode 100644 index 0000000..af39d74 --- /dev/null +++ b/src/pages/test.astro @@ -0,0 +1,13 @@ +--- +import Prose from '../components/Prose.astro'; +import MarkdownLayout from '../layouts/MarkdownLayout.astro'; +import { getEntry } from 'astro:content'; + +const entry = await getEntry('blogs', 'blog-1'); +const { Content } = await entry.render(); +--- +<MarkdownLayout title='HMMMMM'> + <Prose> + <Content /> + </Prose> +</MarkdownLayout> |
