mirror of
https://codeberg.org/HPCesia/AstralHalo.git
synced 2025-04-08 17:34:27 +08:00
feat: remove stylesheet of RSS feed
A third-party stylesheet should not be a part of template.
This commit is contained in:
parent
a1c4dfe214
commit
03a70c675e
File diff suppressed because one or more lines are too long
@ -13,7 +13,6 @@ export const GET: APIRoute = async function (context) {
|
|||||||
title: siteConfig.title,
|
title: siteConfig.title,
|
||||||
description: siteConfig.subtitle,
|
description: siteConfig.subtitle,
|
||||||
site: context.site || '',
|
site: context.site || '',
|
||||||
stylesheet: '/rss/pretty-feed-v3.xsl',
|
|
||||||
items: posts.map((post) => ({
|
items: posts.map((post) => ({
|
||||||
title: post.data.title,
|
title: post.data.title,
|
||||||
pubDate: post.data.published,
|
pubDate: post.data.published,
|
||||||
|
Loading…
Reference in New Issue
Block a user