Skip to content

Commit d9afd91

Browse files
committed
Make SEA description dynamic
1 parent 990d816 commit d9afd91

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

web/pages/news.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ export default function WhatsNew(props: { releases: Release[] }) {
3838
<PageBase trackPageView={'news'} className={'mx-4'}>
3939
<SEO
4040
title={"What's new"}
41-
description={'All news and code updates'}
41+
description={
42+
releases.length
43+
? `See the latest updates and features: ${releases[0].name}`
44+
: 'All news and code updates for Compass'
45+
}
4246
url={`/news`}
4347
/>
4448
<Title className="text-3xl">What's New</Title>

0 commit comments

Comments
 (0)