Do keep the full size image for the og tag though

This commit is contained in:
Kaan Barmore-Genç 2024-05-11 13:03:05 -05:00
parent 24fbda877b
commit 945c615045
Signed by: kaan
GPG key ID: B2E280771CD62FCF

View file

@ -1,6 +1,7 @@
<script> <script>
import Avif from './profile.avif?w=320&format=avif'; import Avif from './profile.avif?w=320&format=avif';
import Jpeg from './profile.avif?w=320&format=jpeg'; import Jpeg from './profile.avif?w=320&format=jpeg';
import JpegFull from './profile.avif?format=jpeg';
import WebP from './profile.avif?w=320&format=webp'; import WebP from './profile.avif?w=320&format=webp';
import cv from '../cv.pdf'; import cv from '../cv.pdf';
@ -18,7 +19,7 @@
<meta property="profile:first_name" content="Kaan" /> <meta property="profile:first_name" content="Kaan" />
<meta property="profile:last_name" content="Barmore-Genç" /> <meta property="profile:last_name" content="Barmore-Genç" />
<meta property="profile:username" content="@SeriousBug" /> <meta property="profile:username" content="@SeriousBug" />
<meta property="og:image" content={`https://bgenc.net${Jpeg}`} /> <meta property="og:image" content={`https://bgenc.net${JpegFull}`} />
</svelte:head> </svelte:head>
<div data-pagefind-body> <div data-pagefind-body>