Skip to content

Commit df03477

Browse files
committed
fix: use the right template name to correctly process youtube content blocks
1 parent cee7074 commit df03477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gatsby/generic-pages/content-blocks.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const deriveBlockNode: DeriveBlockFn = (
7575
case 'block-text':
7676
return deriveTextBlockNode(block, parentId, createNodeArgs)
7777

78-
case 'block-youtube':
78+
case 'block-youtube-embed':
7979
return deriveYoutubeBlockNode(block, parentId, createNodeArgs)
8080

8181
case 'block-timeline':

0 commit comments

Comments
 (0)