oops
This commit is contained in:
parent
268712db32
commit
249ffdb8f3
3 changed files with 5 additions and 9 deletions
|
@ -1,11 +1,9 @@
|
|||
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",
|
||||
integrations: [mdx(), sitemap()],
|
||||
integrations: [mdx()],
|
||||
});
|
||||
|
|
|
@ -20,7 +20,8 @@ const { title, description } = Astro.props;
|
|||
<!-- 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" />
|
||||
|
||||
<link rel="icon" type="image/svg+xml" href="/assets/favicon.svg" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
|
||||
<!-- Canonical URL -->
|
||||
|
@ -30,14 +31,12 @@ const { title, description } = Astro.props;
|
|||
<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 -->
|
||||
|
@ -45,6 +44,5 @@ const { title, description } = Astro.props;
|
|||
<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">
|
||||
|
|
|
@ -4,8 +4,8 @@ import { getCollection } from 'astro:content';
|
|||
export async function GET(context) {
|
||||
const blog = await getCollection('blog');
|
||||
return rss({
|
||||
title: SITE_TITLE,
|
||||
description: SITE_DESCRIPTION,
|
||||
title: 'LimePot',
|
||||
description: 'Personal website of LimePot',
|
||||
site: context.site,
|
||||
items: blog.map((post) => ({
|
||||
title: post.data.title,
|
||||
|
|
Loading…
Reference in a new issue