Некоторые исправления в RSS
This commit is contained in:
parent
8e09b8f0d9
commit
3190a5b61d
2 changed files with 2 additions and 1 deletions
|
|
@ -24,6 +24,7 @@ export async function GET({ setHeaders }) {
|
|||
${posts.map((post) => `<item>
|
||||
<title>${escapeXml(post.title)}</title>
|
||||
<description>${escapeXml(post.description)}</description>
|
||||
<guid isPermaLink="true">https://teasanctuary.ru/blog/${post.slug}</guid>
|
||||
<link>https://teasanctuary.ru/blog/${post.slug}</link>
|
||||
<pubDate>${(new Date(post.date)).toUTCString()}</pubDate>
|
||||
</item>`).join("\n")}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue