add feed img
This commit is contained in:
parent
07ed3c9efc
commit
ff47d0e3f8
@ -114,10 +114,12 @@ export async function GET(context: any) {
|
|||||||
return rss({
|
return rss({
|
||||||
title: "juancmandev",
|
title: "juancmandev",
|
||||||
description: "Welcome to my domain, stranger.",
|
description: "Welcome to my domain, stranger.",
|
||||||
customData: `<language>en-us</language><image>
|
customData: [
|
||||||
<url>https://juancman.dev/logo.png</url>
|
"<language>en-us</language>",
|
||||||
<title>juancmandev</title>
|
`<media:content medium="image" width="600" url="${context.site}/logo.png" type="avif" />`,
|
||||||
</image>`,
|
`<atom:link href="${new URL("rss.xml", context.site)}" rel="self" type="application/rss+xml" />`,
|
||||||
|
,
|
||||||
|
].join(""),
|
||||||
site: context.site,
|
site: context.site,
|
||||||
items,
|
items,
|
||||||
trailingSlash: false,
|
trailingSlash: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user