diff options
Diffstat (limited to 'examples/with-markdown-shiki/src/layouts/main.astro')
-rw-r--r-- | examples/with-markdown-shiki/src/layouts/main.astro | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/with-markdown-shiki/src/layouts/main.astro b/examples/with-markdown-shiki/src/layouts/main.astro new file mode 100644 index 000000000..1c4441a11 --- /dev/null +++ b/examples/with-markdown-shiki/src/layouts/main.astro @@ -0,0 +1,20 @@ +--- +const { content } = Astro.props; +--- + +<html lang={content.lang || 'en'}> + <head> + <meta charset="utf-8" /> + + <link rel="icon" type="image/x-icon" href="/favicon.ico" /> + + <title>{content.title}</title> + + <style global> + @import "../styles/global.css"; + </style> + </head> + <body> + <slot /> + </body> +</html> |