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 { defineConfig } from 'astro/config';
|
||||||
import mdx from '@astrojs/mdx';
|
import mdx from '@astrojs/mdx';
|
||||||
|
|
||||||
import sitemap from '@astrojs/sitemap';
|
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
server: { port: 8001 },
|
server: { port: 8001 },
|
||||||
site: "https://limepot.xyz",
|
site: "https://limepot.xyz",
|
||||||
integrations: [mdx(), sitemap()],
|
integrations: [mdx()],
|
||||||
});
|
});
|
||||||
|
|
|
@ -20,7 +20,8 @@ const { title, description } = Astro.props;
|
||||||
<!-- Global Metadata -->
|
<!-- Global Metadata -->
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
<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} />
|
<meta name="generator" content={Astro.generator} />
|
||||||
|
|
||||||
<!-- Canonical URL -->
|
<!-- Canonical URL -->
|
||||||
|
@ -30,14 +31,12 @@ const { title, description } = Astro.props;
|
||||||
<title>{title}</title>
|
<title>{title}</title>
|
||||||
<meta name="title" content={title} />
|
<meta name="title" content={title} />
|
||||||
<meta name="description" content={description} />
|
<meta name="description" content={description} />
|
||||||
<link rel="icon" type="image/svg+xml" href="/assets/favicon.svg" />
|
|
||||||
|
|
||||||
<!-- Open Graph / Facebook -->
|
<!-- Open Graph / Facebook -->
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content={Astro.url} />
|
<meta property="og:url" content={Astro.url} />
|
||||||
<meta property="og:title" content={title} />
|
<meta property="og:title" content={title} />
|
||||||
<meta property="og:description" content={description} />
|
<meta property="og:description" content={description} />
|
||||||
<meta property="og:image" content={new URL(image, Astro.url)} />
|
|
||||||
<meta property="og:profile:gender" content="woman(ish)">
|
<meta property="og:profile:gender" content="woman(ish)">
|
||||||
|
|
||||||
<!-- Twitter -->
|
<!-- Twitter -->
|
||||||
|
@ -45,6 +44,5 @@ const { title, description } = Astro.props;
|
||||||
<meta property="twitter:url" content={Astro.url} />
|
<meta property="twitter:url" content={Astro.url} />
|
||||||
<meta property="twitter:title" content={title} />
|
<meta property="twitter:title" content={title} />
|
||||||
<meta property="twitter:description" content={description} />
|
<meta property="twitter:description" content={description} />
|
||||||
<meta property="twitter:image" content={new URL(image, Astro.url)} />
|
|
||||||
|
|
||||||
<meta content="she/they" property="pronouns">
|
<meta content="she/they" property="pronouns">
|
||||||
|
|
|
@ -4,8 +4,8 @@ import { getCollection } from 'astro:content';
|
||||||
export async function GET(context) {
|
export async function GET(context) {
|
||||||
const blog = await getCollection('blog');
|
const blog = await getCollection('blog');
|
||||||
return rss({
|
return rss({
|
||||||
title: SITE_TITLE,
|
title: 'LimePot',
|
||||||
description: SITE_DESCRIPTION,
|
description: 'Personal website of LimePot',
|
||||||
site: context.site,
|
site: context.site,
|
||||||
items: blog.map((post) => ({
|
items: blog.map((post) => ({
|
||||||
title: post.data.title,
|
title: post.data.title,
|
||||||
|
|
Loading…
Reference in a new issue