mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-blog.git
synced 2026-04-02 01:54:50 +00:00
update rss description
This commit is contained in:
parent
2d78351bfe
commit
2f9b2d1922
1 changed files with 2 additions and 2 deletions
|
|
@ -5,8 +5,8 @@ import { getCollection } from 'astro:content';
|
||||||
export async function GET(context) {
|
export async function GET(context) {
|
||||||
const posts = await getCollection("blog");
|
const posts = await getCollection("blog");
|
||||||
return rss({
|
return rss({
|
||||||
title: 'Astro Learner | Blog',
|
title: 'Cloverta的博客',
|
||||||
description: 'My journey learning Astro',
|
description: '在这里,发现更多(雾)欢迎来到三叶的博客🥳',
|
||||||
site: context.site,
|
site: context.site,
|
||||||
items: await pagesGlobToRssItems(import.meta.glob('./**/*.md')),
|
items: await pagesGlobToRssItems(import.meta.glob('./**/*.md')),
|
||||||
items: posts.map((post) => ({
|
items: posts.map((post) => ({
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue