diff --git a/_includes/head.html b/_includes/head.html
index 1e9f9d7..41d283f 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -15,8 +15,10 @@
{{page.content | markdownify | strip_html | truncate: 100}}
{% endif %}
{% endcapture %}
- {{site.url}}/images/{{page.path | split: '/' | last | split: '.' | first }}/{{page.image}}
+
{% capture image %}
+ {{site.url}}/images/{{page.path | split: '/' | last | split: '.' | first }}/{{page.image}}
+ {% endcapture %}