Skip to content

Commit

Permalink
fix(meta): meta-image show correct url (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
pr0xity authored Oct 10, 2024
1 parent e9c944a commit e41e5ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 2 additions & 1 deletion src/pages/news/[slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -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}`>
<Main>
<!-- Article Title -->
<H1 text=`${article.title}` />
Expand Down

0 comments on commit e41e5ab

Please sign in to comment.