diff options
Diffstat (limited to 'src/components/Head.astro')
-rw-r--r-- | src/components/Head.astro | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/components/Head.astro b/src/components/Head.astro new file mode 100644 index 0000000..bc5609f --- /dev/null +++ b/src/components/Head.astro @@ -0,0 +1,17 @@ +--- +const canonicalURL = new URL(Astro.url.pathname, Astro.site); +--- + +<head> + <meta content="IE=edge" http-equiv="X-UA-Compatible" /> + <meta content="text/html; charset=utf-8" http-equiv="content-type" /> + <meta content="width=device-width, initial-scale=1" name="viewport" /> + <meta content="index, follow" name="robots" /> + <meta content="Description" name="description" /> + + <link href="/feed.xml" rel="alternate" title="RSS" type="application/atom+xml" /> + <link href="/sitemap-index.xml" rel="sitemap" /> + <link href={canonicalURL} rel="canonical" /> + + <title>Title</title> +</head> |