Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
fix: fix image urls in meta tags
Browse files Browse the repository at this point in the history
The image meta tags urls in the rome tools website are broken and link to https://rome.toolsimg/social-logo.png instead of https://rome.tools/img/social-logo.png
```
<meta content="https://rome.toolsimg/social-logo.png" property="og:image">
```
The site url in the astro.config.ts is set to https://rome.tools, so a slash needs to be added for it to work properly
```
	site: "https://rome.tools",
```
  • Loading branch information
paripsky authored Jul 28, 2023
1 parent c197360 commit 87fb72b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ const { default: favicon } = await import("/public/img/favicon.svg?raw");
<meta name="theme-color" content="#FFC905">
<meta property="og:title" content={title}>
<meta property="og:description" content={description}>
<meta property="og:image" content={`${import.meta.env.SITE}img/${socialImage}`}>
<meta property="twitter:image" content={`${import.meta.env.SITE}img/${socialImage}`}>
<meta property="og:image" content={`${import.meta.env.SITE}/img/${socialImage}`}>
<meta property="twitter:image" content={`${import.meta.env.SITE}/img/${socialImage}`}>
<meta property="twitter:site" content="@rometools">
<meta property="twitter:creator" content="@rometools">
<meta property="twitter:image:alt" content="Logo for Rome Tools">
Expand Down

0 comments on commit 87fb72b

Please sign in to comment.