diff --git a/src/components/HeadSEO.astro b/src/components/HeadSEO.astro
index fe37675..864aca5 100644
--- a/src/components/HeadSEO.astro
+++ b/src/components/HeadSEO.astro
@@ -1,17 +1,6 @@
---
import { getImage } from '@astrojs/image';
import { SITE, OPEN_GRAPH } from '../config';
-
-const defaultImage = OPEN_GRAPH.image.src
- ? (
- await getImage({
- src: OPEN_GRAPH.image.src,
- alt: OPEN_GRAPH.image.alt,
- width: 640,
- height: 320,
- })
- ).src
- : '';
---
@@ -25,7 +14,7 @@ const defaultImage = OPEN_GRAPH.image.src
-
+
@@ -34,7 +23,7 @@ const defaultImage = OPEN_GRAPH.image.src
-
+
diff --git a/src/config.ts b/src/config.ts
index e204ed4..ead3343 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -7,7 +7,7 @@ export const SITE = {
export const OPEN_GRAPH = {
image: {
- src: '../src/assets/images/og-image.png',
+ src: './src/assets/images/og_image.png',
alt: 'Odkazy text s tlačítkami',
},
twitter: 'oliminator34',
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index 7357b13..cd566d6 100644
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -9,7 +9,7 @@ import HeadSEO from '../components/HeadSEO.astro';