Add alternate links to Atom feeds
All checks were successful
CI / Test and lint (push) Successful in 20s

This commit is contained in:
2025-04-25 11:55:54 +04:00
parent 5608176a20
commit ca6c372757

View File

@@ -20,6 +20,7 @@ export async function profileAtomFeed(
<id>${articleId}</id>
<title>${article.title}</title>
<link href="${article.url}" />
<link rel="alternate" type="application/nostr+json" href="nostr:${article.naddr}">
<updated>${isoDate(article.updatedAt)}</updated>
<published>${isoDate(article.publishedAt)}</published>
<summary>${article.summary}</summary>