mirror of
https://github.com/thiloho/aurora.git
synced 2025-11-22 03:21:35 +01:00
Change og:image property on head add main cover image
This commit is contained in:
BIN
src/assets/cover.jpg
Normal file
BIN
src/assets/cover.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 418 KiB |
@@ -1,7 +1,7 @@
|
||||
---
|
||||
const { title, description, ogImage = "" } = Astro.props;
|
||||
|
||||
const imageUrl = new URL(ogImage, Astro.url.origin);
|
||||
const imageUrl = ogImage.replace("localhost:3000", "aurora.thilohohlt.com");
|
||||
---
|
||||
|
||||
<head>
|
||||
|
||||
Reference in New Issue
Block a user