Skip to content

Commit

Permalink
Fix page build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Richard committed May 6, 2024
1 parent 9831a6d commit 90dd7f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/src/pages/[lang]/posts/[page].astro
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const hero = {
title: post.title,
theme: post.theme,
form: 'header',
media: post.hero.youtube ? null : post.hero?.image,
media: post.hero?.youtube ? null : post.hero?.image,
cta: {
text: microcopy.actions.back.replace('((a))', 'News'), // TODO: Replace with proper data pull from CMS
url: `/${locale.code}/news`,
Expand Down

0 comments on commit 90dd7f8

Please sign in to comment.