improve newsletter top stories format
This commit is contained in:
parent
01de4e7ba7
commit
fa5adac297
|
@ -171,9 +171,8 @@ Have a great weekend!
|
||||||
|
|
||||||
##### Top Posts
|
##### Top Posts
|
||||||
${top.data.items.items.slice(0, 10).map((item, i) =>
|
${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})
|
`${i + 1}. [${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('')}
|
||||||
- ${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
|
##### Don't miss
|
||||||
${top.data.items.items.map((item, i) =>
|
${top.data.items.items.map((item, i) =>
|
||||||
|
|
Loading…
Reference in New Issue