feat(daily-email): add max-width to email text
This commit is contained in:
parent
cdfb969938
commit
51b99b29ff
|
@ -12,7 +12,7 @@ export const get = () => rss({
|
|||
description: 'A daily newsletter on software development, DevOps, community, and open-source.',
|
||||
site: import.meta.env.SITE,
|
||||
items: emails.slice(0, 1).map((email) => ({
|
||||
description: email.compiledContent(),
|
||||
description: `<div style="max-width: 550px;">${email.compiledContent()}</div>`,
|
||||
link: `${import.meta.env.SITE}${email.frontmatter.permalink}`,
|
||||
title: email.frontmatter.title,
|
||||
pubDate: email.frontmatter.pubDate,
|
||||
|
|
Loading…
Reference in a new issue