From 8b32996807e816f6ef4aea5b16dfe6215c1957e0 Mon Sep 17 00:00:00 2001 From: Matthew Griffin Date: Thu, 19 Dec 2024 10:33:09 +0000 Subject: [PATCH] Change image to use github.url to allow testing of social media images on forked branches. --- _layouts/default.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index e28e1f110..13544c833 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -26,9 +26,9 @@ {% if page.image %} - {% assign thumbnailImage = page.image | prepend: '/' | replace : '//', '/' | prepend: site.canonical.url %} + {% assign thumbnailImage = page.image | prepend: '/' | replace : '//', '/' | prepend: site.github.url %} {% else %} - {% assign thumbnailImage = site.canonical.url | append: '/assets/blog.png' %} + {% assign thumbnailImage = site.github.url | append: '/assets/blog.png' %} {% endif %}