diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 1d02986..8e46e17 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -20,7 +20,7 @@ const { introText, type = "website", lang = "no", - image = "/images/tg.jpg", + image = "https://www.tg.no/images/tg23-oversikt.jpg", description = "We have hosted The Gathering since 1992 and it has always been a hub for young creative people to battle it out in many types of competitions; demo-coding, music, graphics, animation, and gaming.", } = Astro.props; diff --git a/src/pages/news/[slug].astro b/src/pages/news/[slug].astro index 9527640..c59fed7 100644 --- a/src/pages/news/[slug].astro +++ b/src/pages/news/[slug].astro @@ -30,7 +30,8 @@ const article = await fetchArticleById({ seo_title=`${article.meta.seo_title}` search_description=`${article.meta.search_description}` introText=`${article.intro}` - type="article"> + type="article" + image=`${article.main_image?.sizes.large.url}`>