Skip to content

Commit 4621f73

Browse files
committed
tweak
1 parent 882aca3 commit 4621f73

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

src/pages/videos/[...slug].astro

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,15 @@ if (entry.transcript) {
5656
<StarlightPage {...props}>
5757
<Width size="large" center={true}>
5858
<Stream id={entry.id} title={entry.title} chapters={entry.chapters} />
59+
{
60+
parts && (
61+
<br/>
62+
<Details header="Transcript">
63+
{parts.map((part) => (
64+
<p>{part}</p>
65+
))}
66+
</Details>
67+
)
68+
}
5969
</Width>
60-
{
61-
parts && (
62-
<Details header="Transcript">
63-
{parts.map((part) => (
64-
<p>{part}</p>
65-
))}
66-
</Details>
67-
)
68-
}
6970
</StarlightPage>

0 commit comments

Comments
 (0)