mirror of
https://github.com/NickKaramoff/toot
synced 2025-02-05 20:03:34 +01:00
Fix URLs in <head>
(#90)
This commit is contained in:
commit
e38d3edaf8
@ -24,7 +24,11 @@ and this project adheres to
|
||||
|
||||
### Fixed
|
||||
|
||||
- `canonical` URL is now always the site's root URL
|
||||
- this fixes potential data leakage in Google Search Console
|
||||
- Share2Fedi can be deployed to Deno Deploy again
|
||||
- OpenGraph tags are now fixed
|
||||
- `url` used to point to the image URL, instead of the sites URL
|
||||
|
||||
### Changed
|
||||
|
||||
|
@ -36,7 +36,7 @@ import package_ from "../../package.json";
|
||||
/>
|
||||
<link
|
||||
rel="canonical"
|
||||
href={Astro.url}
|
||||
href={Astro.url.origin}
|
||||
/>
|
||||
<meta
|
||||
property="og:title"
|
||||
@ -48,11 +48,11 @@ import package_ from "../../package.json";
|
||||
/>
|
||||
<meta
|
||||
property="og:image"
|
||||
content="/banner.png"
|
||||
content={new URL("/banner.png", Astro.url)}
|
||||
/>
|
||||
<meta
|
||||
property="og:url"
|
||||
content={`${Astro.url}banner.png`}
|
||||
content={Astro.url.origin}
|
||||
/>
|
||||
|
||||
<link
|
||||
|
Loading…
x
Reference in New Issue
Block a user