diff --git a/_redirects b/_redirects index 347a7348..166a9a75 100644 --- a/_redirects +++ b/_redirects @@ -67,13 +67,13 @@ /apple-touch-icon-precomposed.png /assets/icons/apple-touch-icon.png 200! /static/favicons/apple-touch-icon.png /assets/icons/apple-touch-icon.png 200! /static/images/avatar.png /assets/img/avatar.png 301! -/static/images/avatar.webp /assets/img/avatar.webp 301! +/static/images/avatar.webp https://coryd.dev/.netlify/images/?url=/assets/img/avatar.png&w=500&h=500&fm=webp 301! /assets/img/cache/avatar-800w.webp /assets/img/cache/avatar-880w.webp 301! /assets/img/favicon/apple-touch-icon.png /assets/icons/apple-touch-icon.png 301! /assets/img/favicon/favicon-32x32.png /assets/icons/favicon.ico 301! /assets/img/favicon/favicon-16x16.png /assets/icons/favicon.ico 301! -/assets/img/logo.webp /assets/img/avatar.webp 301! -/assets/img/ogi/default.jpg /assets/img/avatar.webp 301! +/assets/img/logo.webp https://coryd.dev/.netlify/images/?url=/assets/img/avatar.png&w=500&h=500&fm=webp 301! +/assets/img/ogi/default.jpg https://coryd.dev/.netlify/images/?url=/assets/img/avatar.png&w=500&h=500&fm=webp 301! # general /articles/ / 301! diff --git a/src/_data/json/meta.json b/src/_data/json/meta.json index c7c46c5e..5afa7d98 100644 --- a/src/_data/json/meta.json +++ b/src/_data/json/meta.json @@ -9,6 +9,6 @@ "locale": "en_US", "lang": "en", "meta_data": { - "opengraph_default": "https://coryd.dev/assets/img/avatar.webp" + "opengraph_default": "https://coryd.dev/.netlify/images/?url=/assets/img/avatar.png&w=500&h=500&fm=webp" } } \ No newline at end of file diff --git a/src/assets/img/avatar.webp b/src/assets/img/avatar.webp deleted file mode 100644 index f0098b6a..00000000 Binary files a/src/assets/img/avatar.webp and /dev/null differ diff --git a/src/meta/webfinger.liquid b/src/meta/webfinger.liquid index 2b466ffd..4f05070e 100644 --- a/src/meta/webfinger.liquid +++ b/src/meta/webfinger.liquid @@ -10,7 +10,7 @@ dynamicPermalink: false { "rel": "http://webfinger.net/rel/avatar", "type": "image/webp", - "href": "https://coryd.dev/static/images/avatar.webp" + "href": "https://coryd.dev/.netlify/images/?url=/assets/img/avatar.png&w=500&h=500&fm=webp" }, { "rel": "http://webfinger.net/rel/profile-page",