mirror of
https://github.com/NickKaramoff/toot
synced 2025-02-06 04:13:24 +01:00
Fix URLs in <head>
(#90)
This commit is contained in:
commit
e38d3edaf8
@ -24,7 +24,11 @@ and this project adheres to
|
|||||||
|
|
||||||
### Fixed
|
### 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
|
- 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
|
### Changed
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ import package_ from "../../package.json";
|
|||||||
/>
|
/>
|
||||||
<link
|
<link
|
||||||
rel="canonical"
|
rel="canonical"
|
||||||
href={Astro.url}
|
href={Astro.url.origin}
|
||||||
/>
|
/>
|
||||||
<meta
|
<meta
|
||||||
property="og:title"
|
property="og:title"
|
||||||
@ -48,11 +48,11 @@ import package_ from "../../package.json";
|
|||||||
/>
|
/>
|
||||||
<meta
|
<meta
|
||||||
property="og:image"
|
property="og:image"
|
||||||
content="/banner.png"
|
content={new URL("/banner.png", Astro.url)}
|
||||||
/>
|
/>
|
||||||
<meta
|
<meta
|
||||||
property="og:url"
|
property="og:url"
|
||||||
content={`${Astro.url}banner.png`}
|
content={Astro.url.origin}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<link
|
<link
|
||||||
|
Loading…
x
Reference in New Issue
Block a user