diff --git a/scripts/newsletter.js b/scripts/newsletter.js index e5be3b92..f899f45d 100644 --- a/scripts/newsletter.js +++ b/scripts/newsletter.js @@ -171,9 +171,8 @@ Have a great weekend! ##### Top Posts ${top.data.items.items.slice(0, 10).map((item, i) => - `${i + 1}. [@${item.user.name}](https://stacker.news/${item.user.name}) [${item.title}](https://stacker.news/items/${item.id}) - - [${item.title}](https://stacker.news/items/${item.id}) - - ${abbrNum(item.sats)} sats${item.boost ? ` \\ ${abbrNum(item.boost)} boost` : ''} \\ ${item.ncomments} comments \\ [@${item.user.name}](https://stacker.news/${item.user.name})\n`).join('')} + `${i + 1}. [${item.title}](https://stacker.news/items/${item.id}) + - ${abbrNum(item.sats)} sats${item.boost ? ` \\ ${abbrNum(item.boost)} boost` : ''} \\ ${item.ncomments} comments \\ [@${item.user.name}](https://stacker.news/${item.user.name})\n`).join('')} ##### Don't miss ${top.data.items.items.map((item, i) =>