Improved tagging
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
---
|
||||
const pageTitle = Astro.props.title || "Corwin Perren";
|
||||
const pageTitle = Astro.props.title ? `${Astro.props.title} - Corwin Perren`: "Corwin Perren";
|
||||
---
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<meta charset="utf-8"/>
|
||||
<link rel="icon" type="image/png" href="/favicon.png"/>
|
||||
<meta name="viewport" content="width=device-width"/>
|
||||
<meta name="generator" content={Astro.generator}/>
|
||||
<title>{pageTitle}</title>
|
||||
</head>
|
||||
<body class="container mx-auto">
|
||||
<h1>{pageTitle}</h1>
|
||||
<slot/>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user