This commit is contained in:
nelle 2024-06-26 18:07:44 -06:00
parent 300a6455a0
commit 268712db32
2 changed files with 36 additions and 8 deletions

View file

@ -1,7 +1,11 @@
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import sitemap from '@astrojs/sitemap';
// https://astro.build/config
export default defineConfig({
server: { port: 8001 },
site: "https://limepot.xyz"
site: "https://limepot.xyz",
integrations: [mdx(), sitemap()],
});

View file

@ -9,14 +9,7 @@ const canonicalURL = new URL(Astro.url.pathname, Astro.site);
const { title, description } = Astro.props;
---
<meta charset="UTF-8" />
<meta name="description" content="Personal website of LimePotato" />
<meta name="viewport" content="width=device-width" />
<meta content="woman(ish)" property="og:profile:gender">
<meta content="she/they" property="pronouns">
<meta name="generator" content={Astro.generator} />
<link rel="stylesheet" href="/css/mystyle.css" />
<link rel="icon" type="image/svg+xml" href="/assets/favicon.svg" />
<link
rel="alternate"
type="application/rss+xml"
@ -24,3 +17,34 @@ const { title, description } = Astro.props;
href={new URL("rss.xml", Astro.site)}
/>
<!-- Global Metadata -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<!-- Canonical URL -->
<link rel="canonical" href={canonicalURL} />
<!-- Primary Meta Tags -->
<title>{title}</title>
<meta name="title" content={title} />
<meta name="description" content={description} />
<link rel="icon" type="image/svg+xml" href="/assets/favicon.svg" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content={Astro.url} />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:image" content={new URL(image, Astro.url)} />
<meta property="og:profile:gender" content="woman(ish)">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content={Astro.url} />
<meta property="twitter:title" content={title} />
<meta property="twitter:description" content={description} />
<meta property="twitter:image" content={new URL(image, Astro.url)} />
<meta content="she/they" property="pronouns">