aboutsummaryrefslogtreecommitdiff
path: root/src/components/Head.astro
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-09-05 18:01:13 +0300
committerValentin Popov <valentin@popov.link>2024-09-05 18:01:13 +0300
commit17c3115a0608bb7ef42c8038b36f24b2356004ec (patch)
treefb59e691830155a1b003dca9125fd871bd66176c /src/components/Head.astro
parent7ba2de71480c1b568ed8b7d7f693f17774da1684 (diff)
downloadpopov.link-17c3115a0608bb7ef42c8038b36f24b2356004ec.tar.xz
popov.link-17c3115a0608bb7ef42c8038b36f24b2356004ec.zip
Added basic structure
Diffstat (limited to 'src/components/Head.astro')
-rw-r--r--src/components/Head.astro17
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>