diff --git a/data/blog/coronary-evidence-video.mdx b/data/blog/coronary-evidence-video.mdx index fb24ac3..04a5804 100644 --- a/data/blog/coronary-evidence-video.mdx +++ b/data/blog/coronary-evidence-video.mdx @@ -2,7 +2,7 @@ title: Coronary Evidence Tour video date: '2016-04-04' tags: ['video', 'tour'] -video: ZZFlhe_I4kI +youtubeId: ZZFlhe_I4kI draft: false summary: We just toured with Aborted on the Coronary Evidence Tour! --- diff --git a/layouts/PostLayout.tsx b/layouts/PostLayout.tsx index e69df09..67f9420 100644 --- a/layouts/PostLayout.tsx +++ b/layouts/PostLayout.tsx @@ -27,7 +27,7 @@ interface Props { } export default function PostLayout({ frontMatter, authorDetails, next, prev, children }: Props) { - const { slug, fileName, date, title, tags, video } = frontMatter + const { slug, fileName, date, title, tags, youtubeId } = frontMatter return ( @@ -98,14 +98,14 @@ export default function PostLayout({ frontMatter, authorDetails, next, prev, chi
{children} - {video ? ( + {youtubeId ? (