chore: only show the latest daily email in RSS
This commit is contained in:
parent
fe8810f6b4
commit
476639ba3a
|
@ -11,7 +11,7 @@ export const get = () => rss({
|
|||
title: 'Daily email list',
|
||||
description: 'A daily newsletter on software development, DevOps, community, and open-source.',
|
||||
site: import.meta.env.SITE,
|
||||
items: emails.map((email) => ({
|
||||
items: emails.slice(0, 1).map((email) => ({
|
||||
description: email.compiledContent(),
|
||||
link: `${import.meta.env.SITE}${email.frontmatter.permalink}`,
|
||||
title: email.frontmatter.title,
|
||||
|
|
Loading…
Reference in a new issue