diff --git a/public/ogp.png b/public/ogp.png new file mode 100644 index 0000000..f3b80f9 Binary files /dev/null and b/public/ogp.png differ diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..53c5584 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: https://asis.quest/sitemap-index.xml diff --git a/src/components/MainHead.astro b/src/components/MainHead.astro index ca8007c..043d6a9 100644 --- a/src/components/MainHead.astro +++ b/src/components/MainHead.astro @@ -7,16 +7,28 @@ interface Props { } const { title = 'ASIS', description = 'The quest to live life as it is' } = Astro.props + +const canonicalURL = new URL(Astro.url.pathname, Astro.site) +const socialImageURL = new URL('/ogp.png', Astro.url) --- - +