Second commit (for vercel)
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
---
|
||||
const { title } = Astro.props;
|
||||
const { title = "", description = "" } = Astro.props;
|
||||
---
|
||||
|
||||
<!DOCTYPE html>
|
||||
@ -9,6 +9,7 @@ const { title } = Astro.props;
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
||||
<title>{title}</title>
|
||||
<meta name="description" content={description}>
|
||||
</head>
|
||||
<body>
|
||||
<slot />
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
import Layout from '../layouts/Layout.astro';
|
||||
import Layout from '~/layouts/Layout.astro';
|
||||
---
|
||||
<Layout title="Welcome to Astro.">
|
||||
<Layout title="Tailwind Astro">
|
||||
<main>
|
||||
<h1>Welcome to <span class="text-gradient">Tailwind Astro</span></h1>
|
||||
<p class="instructions">
|
||||
|
Reference in New Issue
Block a user