links/src/components/HeadSEO.astro

31 lines
1.1 KiB
Text
Raw Normal View History

2023-01-06 21:17:43 +01:00
---
2023-04-01 11:21:00 +02:00
import { SITE, OPEN_GRAPH } from "../config";
2023-01-06 21:17:43 +01:00
---
<!-- Primary Meta Tags -->
<title>{SITE.title}</title>
<meta name="title" content={SITE.title} />
<meta name="description" content={SITE.title} />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content={SITE.url} />
<meta property="og:title" content={SITE.title} />
<meta property="og:description" content={SITE.description} />
2023-01-07 14:25:24 +01:00
<meta property="og:image" content={OPEN_GRAPH.image.src} />
2023-01-06 21:17:43 +01:00
<meta property="og:image:alt" content={OPEN_GRAPH.image.alt} />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content={OPEN_GRAPH.twitter} />
<meta property="twitter:url" content={SITE.url} />
<meta property="twitter:title" content={SITE.title} />
<meta property="twitter:description" content={SITE.description} />
2023-01-07 14:25:24 +01:00
<meta property="twitter:image" content={OPEN_GRAPH.image.src} />
2023-01-06 21:17:43 +01:00
<meta name="twitter:image:alt" content={OPEN_GRAPH.image.alt} />
<meta name="theme-color" content={SITE.themeColor} />
2023-04-01 11:39:51 +02:00
<script type="application/ld+json" set:html={JSON.stringify(SITE.schema)}
></script>