feat: add hashtags to email title
This commit is contained in:
parent
d3e34e6e32
commit
6ba52b85e0
|
@ -23,7 +23,7 @@ export async function get() {
|
||||||
description: `<div style="max-width: 550px;">${sanitizeHtml(parser.render(email.body))}</div>`,
|
description: `<div style="max-width: 550px;">${sanitizeHtml(parser.render(email.body))}</div>`,
|
||||||
link: `${import.meta.env.SITE}/${email.data.permalink}`,
|
link: `${import.meta.env.SITE}/${email.data.permalink}`,
|
||||||
pubDate: email.data.pubDate,
|
pubDate: email.data.pubDate,
|
||||||
title: email.data.title,
|
title: `${email.data.title} ${email.data.tags.map(tag => `#${tag}`).join(' ')}`,
|
||||||
}))
|
}))
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue