added schema, robots.txt, sitemap.xml
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
export interface Props { title: string; description: string; keywords: string; ogUrl: string; ogImage: string;}
|
||||
export interface Props { title: string; description: string; keywords: string; ogUrl: string; ogImage: string; schema?: object;}
|
||||
|
||||
const { title, description, keywords, ogUrl, ogImage } = Astro.props;
|
||||
const { title, description, keywords, ogUrl, ogImage, schema } = Astro.props;
|
||||
---
|
||||
|
||||
<!DOCTYPE html>
|
||||
@@ -29,6 +29,9 @@ const { title, description, keywords, ogUrl, ogImage } = Astro.props;
|
||||
<meta property="og:image" content={ogImage}>
|
||||
<meta property="og:site_name" content="Rajeev Gandhi Youth Computer Institute">
|
||||
<meta property="og:locale" content="en_IN">
|
||||
{schema && (
|
||||
<script type="application/ld+json" set:html={JSON.stringify(schema)} />
|
||||
)}
|
||||
</head>
|
||||
<body>
|
||||
<slot />
|
||||
|
||||
Reference in New Issue
Block a user