diff options
Diffstat (limited to 'examples/doc/src/pages/index.astro')
-rw-r--r-- | examples/doc/src/pages/index.astro | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/doc/src/pages/index.astro b/examples/doc/src/pages/index.astro new file mode 100644 index 000000000..fe00e15a8 --- /dev/null +++ b/examples/doc/src/pages/index.astro @@ -0,0 +1,14 @@ +--- +import Markdown from 'astro/components/Markdown.astro'; +import Layout from '../layouts/Main.astro'; +--- + +<Layout content={{ title: 'Hello world!' }}> + <Markdown> + # Hello world! + + This is a starter template, have fun building your next documentation site with [Astro](https://astro.build). + + It offers the right mix of simple-to-use [Markdown pages](/example) and rich, interactive components embedded in `.astro` files using `<Markdown>`. + </Markdown> +</Layout> |