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 %}