Added some cantane data
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
---
|
||||
import type { Head } from '@/types/Head';
|
||||
|
||||
interface Props {
|
||||
title: string;
|
||||
head?: Head
|
||||
}
|
||||
|
||||
const { title } = Astro.props;
|
||||
const { title, head } = Astro.props;
|
||||
---
|
||||
|
||||
<!doctype html>
|
||||
@@ -11,7 +14,7 @@ const { title } = Astro.props;
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="author" content="Alexis Pelé" />
|
||||
<meta name="description" content="Carte du monde connu de Léim, centrée sur l'Alliance Kaldélienne" />
|
||||
{head?.description && <meta name="description" content={head.description} /> }
|
||||
<meta name="viewport" content="width=device-width; initial-scale=1" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<title>{title} — Leim Wiki</title>
|
||||
@@ -26,10 +29,13 @@ const { title } = Astro.props;
|
||||
<meta name="msapplication-TileColor" content="#00aba9">
|
||||
<meta name="theme-color" content="#a9d1eb">
|
||||
|
||||
<meta property="og:title" content={title}/>
|
||||
<meta property="og:type" content="map" />
|
||||
<meta property="og:title" content={title} />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content={Astro.url} />
|
||||
<meta property="og:image" content="/bailey-zindel-NRQV-hBF10M-unsplash.jpg" />
|
||||
{head?.image && <meta property="og:image" content={head.image} />}
|
||||
|
||||
{head?.description && <meta name="twitter:description" content={head.description} /> }
|
||||
{head?.image && <meta property="twitter:image" content={head.image} />}
|
||||
|
||||
<link rel="stylesheet" href="/leaflet/leaflet.css" rel="preload" />
|
||||
<script is:inline src="/leaflet/leaflet.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user