Skip to content

Commit 338018f

Browse files
committed
Only use the first sentence of mash descriptions
1 parent df97993 commit 338018f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/scripts/gen-feed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ for (const script of JSON.parse(Deno.readTextFileSync(scripthubJson)).scripts) {
5555
if (description) rv.push({
5656
type: 'script',
5757
time: new Date(birthtime),
58-
description,
58+
description: description.split(". ")?.[0] ?? description,
5959
title: fullname,
6060
image: avatar,
6161
url

0 commit comments

Comments
 (0)