From c91ae89e95aebf2540525da408bda7c1c6a2cd61 Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.uk>
Date: Fri, 21 Apr 2017 10:22:52 +0100
Subject: [PATCH] Prefix site.url to meta image URLs

---
 source/_partials/og.twig                     | 4 ++--
 source/_talks/drupal-8-module-development.md | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/source/_partials/og.twig b/source/_partials/og.twig
index 2c94d403..7020e9ef 100644
--- a/source/_partials/og.twig
+++ b/source/_partials/og.twig
@@ -11,7 +11,7 @@
 {% endif %}
 
 {% if og.image and og.image.url %}
-    <meta property="og:image" content="{{ og.image.url }}"/>
+    <meta property="og:image" content="{{ site.url }}{{ og.image.url }}"/>
     {% if og.image.type %}
         <meta property="og:image:type" content="{{ og.image.type }}"/>
     {% endif %}
@@ -26,7 +26,7 @@
 {% if og.title %}
     {% if og.image %}
         <meta name="twitter:card" content="summary_large_image"/>
-        <meta name="twitter:image:src" content="{{ og.image.url }}">
+        <meta name="twitter:image:src" content="{{ site.url }}{{ og.image.url }}">
         <meta name="twitter:creator" content="@{{ site.twitter.name }}"/>
     {% else %}
         <meta name="twitter:card" content="summary"/>
diff --git a/source/_talks/drupal-8-module-development.md b/source/_talks/drupal-8-module-development.md
index 95623812..1a235847 100644
--- a/source/_talks/drupal-8-module-development.md
+++ b/source/_talks/drupal-8-module-development.md
@@ -14,7 +14,7 @@ meta:
     og:
         title: Getting Started with Drupal 8 Module Development
         image:
-            url: 'https://www.oliverdavies.uk/assets/images/talks/dclondon16.png'
+            url: /assets/images/talks/dclondon16.png
             type: 'image/png'
             height: 540
             width: 960