fix rss
This commit is contained in:
2
main.ts
2
main.ts
@@ -85,7 +85,7 @@ async function rss() {
|
|||||||
|
|
||||||
${ articles.map(article => `<item>
|
${ articles.map(article => `<item>
|
||||||
<title>${ article.title }</title>
|
<title>${ article.title }</title>
|
||||||
<link>${ HOST }/blog/${ article.slug }</link>
|
<link>${ HOST }/blog/post/${ article.slug }</link>
|
||||||
<pubDate>${ new Date(article.createdAt).toUTCString() }</pubDate>
|
<pubDate>${ new Date(article.createdAt).toUTCString() }</pubDate>
|
||||||
<author>Daniel Ledda</author>
|
<author>Daniel Ledda</author>
|
||||||
<description>${ article.teaser }</description>
|
<description>${ article.teaser }</description>
|
||||||
|
|||||||
Reference in New Issue
Block a user