Skip to content

Commit 8ad5b94

Browse files
committed
chore: clean up show note links
1 parent 0b22115 commit 8ad5b94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/show-notes.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ export async function generateShowNotes({
2828
let showNotes = `This is a recap of the top 10 posts on Hacker News on ${formattedDate}.\n\n`
2929
showNotes += stories
3030
.map(story => {
31-
let str = `${story.title}\nHN: ${story.hnUrl}\n`
31+
let str = `${story.title}\n`
3232
if (story.url) {
33-
str += `Link: ${story.url}\n`
33+
str += `${story.url}\n`
3434
}
35-
str += `Points: ${story.points} | Comments: ${story.comments.length}\n`
35+
str += `${story.hnUrl}\n`
3636
return str
3737
})
3838
.join('\n')

0 commit comments

Comments
 (0)